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/debug/init.go | |
parent | 75f782a5a7048be7d97c3f40df7251589905968c (diff) |
tpl: Use consistent delimiter spacing in examples
Diffstat (limited to 'tpl/debug/init.go')
-rw-r--r-- | tpl/debug/init.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/debug/init.go b/tpl/debug/init.go index bf59ae030..12a99783d 100644 --- a/tpl/debug/init.go +++ b/tpl/debug/init.go @@ -32,9 +32,9 @@ func init() { ns.AddMethodMapping(ctx.Dump, nil, [][2]string{ - {`{{- $m := newScratch -}} -{{- $m.Set "Hugo" "Rocks!" -}} -{{- $m.Values | debug.Dump | safeHTML -}}`, "map[string]interface {}{\n \"Hugo\": \"Rocks!\",\n}"}, + {`{{ $m := newScratch }} +{{ $m.Set "Hugo" "Rocks!" }} +{{ $m.Values | debug.Dump | safeHTML }}`, "map[string]interface {}{\n \"Hugo\": \"Rocks!\",\n}"}, }, ) |