mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Revert "tpl: Update Jsonify to return pretty-print output"
This reverts commit 5a52cd5f92.
Closes #5394
This commit is contained in:
@@ -88,7 +88,7 @@ func TestJsonify(t *testing.T) {
|
||||
v interface{}
|
||||
expect interface{}
|
||||
}{
|
||||
{[]string{"a", "b"}, template.HTML("[\n \"a\",\n \"b\"\n]")},
|
||||
{[]string{"a", "b"}, template.HTML(`["a","b"]`)},
|
||||
{tstNoStringer{}, template.HTML("{}")},
|
||||
{nil, template.HTML("null")},
|
||||
// errors
|
||||
|
||||
Reference in New Issue
Block a user