1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

tpl/strings: Fix broken test

This commit is contained in:
Bjørn Erik Pedersen
2017-12-17 18:06:55 +01:00
parent 22cd89adc4
commit 02f2735f68

View File

@@ -32,7 +32,7 @@ func init() {
ns.AddMethodMapping(ctx.Chomp,
[]string{"chomp"},
[][2]string{
{`{{chomp "<p>Blockhead</p>\n" }}`, `<p>Blockhead</p>`},
{`{{chomp "<p>Blockhead</p>\n" | safeHTML }}`, `<p>Blockhead</p>`},
},
)