mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Revert "tpl: Update Jsonify to return pretty-print output"
This reverts commit 5a52cd5f92
.
Closes #5394
This commit is contained in:
@@ -47,7 +47,7 @@ func init() {
|
||||
ns.AddMethodMapping(ctx.Jsonify,
|
||||
[]string{"jsonify"},
|
||||
[][2]string{
|
||||
{`{{ (slice "A" "B" "C") | jsonify }}`, "[\n \"A\",\n \"B\",\n \"C\"\n]"},
|
||||
{`{{ (slice "A" "B" "C") | jsonify }}`, `["A","B","C"]`},
|
||||
},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user