diff --git a/tpl/strings/init.go b/tpl/strings/init.go index dc674c522..54009b897 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
`}, }, )