hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 02f2735f68e1bb2e2c412698755d52c4d396f237
parent 22cd89adc4792a3b55389d38acd4acfae3786775
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun, 17 Dec 2017 18:06:55 +0100

tpl/strings: Fix broken test

Diffstat:
Mtpl/strings/init.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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>`},
 			},
 		)