mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
tpl/strings: Fix broken test
This commit is contained in:
@@ -32,7 +32,7 @@ func init() {
|
|||||||
ns.AddMethodMapping(ctx.Chomp,
|
ns.AddMethodMapping(ctx.Chomp,
|
||||||
[]string{"chomp"},
|
[]string{"chomp"},
|
||||||
[][2]string{
|
[][2]string{
|
||||||
{`{{chomp "<p>Blockhead</p>\n" }}`, `<p>Blockhead</p>`},
|
{`{{chomp "<p>Blockhead</p>\n" | safeHTML }}`, `<p>Blockhead</p>`},
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user