summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r--hugolib/shortcode_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go
index f1d90e22e..a1f12e77a 100644
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -918,7 +918,7 @@ func TestShortcodeMarkdownOutputFormat(t *testing.T) {
---
title: "p1"
---
-{{< foo >}}
+{{% foo %}}
# The below would have failed using the HTML template parser.
-- layouts/shortcodes/foo.md --
§§§
@@ -930,9 +930,7 @@ title: "p1"
b := Test(t, files)
- b.AssertFileContent("public/p1/index.html", `
-<x
- `)
+ b.AssertFileContent("public/p1/index.html", "<code>&lt;x")
}
func TestShortcodePreserveIndentation(t *testing.T) {