mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
tpl/strings: Fix broken test
This commit is contained in:
@@ -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>`},
|
||||
},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user