Revert "tpl: Update Jsonify to return pretty-print output"

This reverts commit 5a52cd5f92.

Closes #5394
This commit is contained in:
Bjørn Erik Pedersen
2018-11-02 19:03:48 +01:00
parent 486bc46a52
commit 4f3c095963
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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