hugolib: Fix broken hightlighter smoke test

This commit is contained in:
Bjørn Erik Pedersen 2017-09-29 10:10:13 +02:00
parent 6a986b7c07
commit 24fab99841

View file

@ -480,9 +480,9 @@ e`,
## {{% c %}}`, ## {{% c %}}`,
filepath.FromSlash("public/sect/doc5/index.html"), "\n\n<h1 id=\"hahahugoshortcode-1hbhb\">b</h1>\n\n<h2 id=\"hahahugoshortcode-2hbhb\">c</h2>\n"}, filepath.FromSlash("public/sect/doc5/index.html"), "\n\n<h1 id=\"hahahugoshortcode-1hbhb\">b</h1>\n\n<h2 id=\"hahahugoshortcode-2hbhb\">c</h2>\n"},
// #2223 pygments // #2223 pygments
{"sect/doc6.md", "\n```bash\nb: {{< b >}} c: {{% c %}}\n```\n", {"sect/doc6.md", "\n```bash\nb = {{< b >}} c = {{% c %}}\n```\n",
filepath.FromSlash("public/sect/doc6/index.html"), filepath.FromSlash("public/sect/doc6/index.html"),
`<span class="s1f40">b: b c: c`}, `<span class="nv">b</span>`},
// #2249 // #2249
{"sect/doc7.ad", `_Shortcodes:_ *b: {{< b >}} c: {{% c %}}*`, {"sect/doc7.ad", `_Shortcodes:_ *b: {{< b >}} c: {{% c %}}*`,
filepath.FromSlash("public/sect/doc7/index.html"), filepath.FromSlash("public/sect/doc7/index.html"),