summaryrefslogtreecommitdiffstats
path: root/tpl/transform/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/transform/init.go')
-rw-r--r--tpl/transform/init.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/tpl/transform/init.go b/tpl/transform/init.go
index 5c6d7da5c..dd31446bd 100644
--- a/tpl/transform/init.go
+++ b/tpl/transform/init.go
@@ -45,11 +45,11 @@ func init() {
[]string{"htmlEscape"},
[][2]string{
{
- `{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | safeHTML}}`,
+ `{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | safeHTML }}`,
`Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;`,
},
{
- `{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>"}}`,
+ `{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" }}`,
`Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;cathal@foo.bar&amp;gt;`,
},
{
@@ -63,15 +63,15 @@ func init() {
[]string{"htmlUnescape"},
[][2]string{
{
- `{{ htmlUnescape "Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | safeHTML}}`,
+ `{{ htmlUnescape "Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | safeHTML }}`,
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
},
{
- `{{"Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;cathal@foo.bar&amp;gt;" | htmlUnescape | htmlUnescape | safeHTML}}`,
+ `{{ "Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;cathal@foo.bar&amp;gt;" | htmlUnescape | htmlUnescape | safeHTML }}`,
`Cathal Garvey & The Sunshine Band <cathal@foo.bar>`,
},
{
- `{{"Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;cathal@foo.bar&amp;gt;" | htmlUnescape | htmlUnescape }}`,
+ `{{ "Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;cathal@foo.bar&amp;gt;" | htmlUnescape | htmlUnescape }}`,
`Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;`,
},
{
@@ -84,7 +84,7 @@ func init() {
ns.AddMethodMapping(ctx.Markdownify,
[]string{"markdownify"},
[][2]string{
- {`{{ .Title | markdownify}}`, `<strong>BatMan</strong>`},
+ {`{{ .Title | markdownify }}`, `<strong>BatMan</strong>`},
},
)