From 02f2735f68e1bb2e2c412698755d52c4d396f237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 17 Dec 2017 18:06:55 +0100 Subject: tpl/strings: Fix broken test --- tpl/strings/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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

`}, }, ) -- cgit v1.2.3