Skip to content

Commit

Permalink
deps: Update Goldmark
Browse files Browse the repository at this point in the history
Fixes #6649
  • Loading branch information
bep committed Dec 20, 2019
1 parent 8a58ebb commit c8f4f7f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions hugolib/page_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1644,6 +1644,11 @@ $$$bash {hl_lines=[1]}
MARKDOWN
$$$
Link with URL as text
[https://google.com](https://google.com)
`
content = strings.ReplaceAll(content, "$$$", "```")

Expand All @@ -1652,10 +1657,14 @@ $$$
b.Build(BuildCfg{})

b.AssertFileContent("public/page/index.html",
`<nav id="TableOfContents">`,
`<li><a href="#shortcode-t-short-in-header">Shortcode T-SHORT in header</a></li>`,
`<code class="language-bash" data-lang="bash"><span class="hl">SHORT`,
`<code class="language-bash" data-lang="bash"><span class="hl">MARKDOWN`)
`<nav id="TableOfContents">
<li><a href="#shortcode-t-short-in-header">Shortcode T-SHORT in header</a></li>
<code class="language-bash" data-lang="bash"><span class="hl">SHORT
<code class="language-bash" data-lang="bash"><span class="hl">MARKDOWN
FOO
`)
}

func TestBlackfridayDefault(t *testing.T) {
Expand Down

0 comments on commit c8f4f7f

Please sign in to comment.