diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-11-24 21:24:18 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-11-25 09:54:35 +0100 |
commit | b8d5c378baf620781a770559ce2c9d4f690640ba (patch) | |
tree | ec45f7b4dce614d8b917995ebe762aae256cb829 /tpl/transform | |
parent | 75f782a5a7048be7d97c3f40df7251589905968c (diff) |
tpl: Use consistent delimiter spacing in examples
Diffstat (limited to 'tpl/transform')
-rw-r--r-- | tpl/transform/init.go | 12 |
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 & The Sunshine Band <cathal@foo.bar>`, }, { - `{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>"}}`, + `{{ htmlEscape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" }}`, `Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;`, }, { @@ -63,15 +63,15 @@ func init() { []string{"htmlUnescape"}, [][2]string{ { - `{{ htmlUnescape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | safeHTML}}`, + `{{ htmlUnescape "Cathal Garvey & The Sunshine Band <cathal@foo.bar>" | safeHTML }}`, `Cathal Garvey & The Sunshine Band <cathal@foo.bar>`, }, { - `{{"Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | htmlUnescape | htmlUnescape | safeHTML}}`, + `{{ "Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | htmlUnescape | htmlUnescape | safeHTML }}`, `Cathal Garvey & The Sunshine Band <cathal@foo.bar>`, }, { - `{{"Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | htmlUnescape | htmlUnescape }}`, + `{{ "Cathal Garvey &amp; The Sunshine Band &lt;cathal@foo.bar&gt;" | htmlUnescape | htmlUnescape }}`, `Cathal Garvey & The Sunshine Band <cathal@foo.bar>`, }, { @@ -84,7 +84,7 @@ func init() { ns.AddMethodMapping(ctx.Markdownify, []string{"markdownify"}, [][2]string{ - {`{{ .Title | markdownify}}`, `<strong>BatMan</strong>`}, + {`{{ .Title | markdownify }}`, `<strong>BatMan</strong>`}, }, ) |