summaryrefslogtreecommitdiffstats
path: root/tpl/debug/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/debug/init.go')
-rw-r--r--tpl/debug/init.go6
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}"},
},
)