ref: 02f2735f68e1bb2e2c412698755d52c4d396f237
parent: 22cd89adc4792a3b55389d38acd4acfae3786775
author: Bjørn Erik Pedersen <[email protected]>
date: Sun Dec 17 13:06:55 EST 2017
tpl/strings: Fix broken test
--- a/tpl/strings/init.go
+++ b/tpl/strings/init.go
@@ -32,7 +32,7 @@
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>`},
},
)