diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-12-17 18:06:55 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-12-17 18:06:55 +0100 |
commit | 02f2735f68e1bb2e2c412698755d52c4d396f237 (patch) | |
tree | a92b283ab56d30bfb02b8b86671e411ce40ab849 /tpl | |
parent | 22cd89adc4792a3b55389d38acd4acfae3786775 (diff) |
tpl/strings: Fix broken test
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/strings/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<p>Blockhead</p>\n" }}`, `<p>Blockhead</p>`}, + {`{{chomp "<p>Blockhead</p>\n" | safeHTML }}`, `<p>Blockhead</p>`}, }, ) |