From: Bjørn Erik Pedersen Date: Sun, 17 Dec 2017 17:06:55 +0000 (+0100) Subject: tpl/strings: Fix broken test X-Git-Tag: v0.32~15 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=02f2735f68e1bb2e2c412698755d52c4d396f237;p=brevno-suite%2Fhugo tpl/strings: Fix broken test --- diff --git a/tpl/strings/init.go b/tpl/strings/init.go index dc674c52..54009b89 100644 --- a/tpl/strings/init.go +++ b/tpl/strings/init.go @@ -32,7 +32,7 @@ func init() { ns.AddMethodMapping(ctx.Chomp, []string{"chomp"}, [][2]string{ - {`{{chomp "

Blockhead

\n" }}`, `

Blockhead

`}, + {`{{chomp "

Blockhead

\n" | safeHTML }}`, `

Blockhead

`}, }, )