ref: 24fab9984152c7e4755947dc1c5652bbcbd10cc4
parent: 6a986b7c075823ad5255fa0b1d611faa25e8fbef
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Sep 29 06:10:13 EDT 2017
hugolib: Fix broken hightlighter smoke test
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -480,9 +480,9 @@
## {{% 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"},
// #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"),
- `<span class="s1f40">b: b c: c`},
+ `<span class="nv">b</span>`},
// #2249
{"sect/doc7.ad", `_Shortcodes:_ *b: {{< b >}} c: {{% c %}}*`,
filepath.FromSlash("public/sect/doc7/index.html"),