From 2d6785b71414cc70adfb24ee742e3defa5841bbb Mon Sep 17 00:00:00 2001 From: Anthony Nowell Date: Sun, 13 Aug 2017 00:46:04 -0600 Subject: Adding optional json filter --- testing/templates/json.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testing/templates/json.html') diff --git a/testing/templates/json.html b/testing/templates/json.html index e711c10..250b7be 100644 --- a/testing/templates/json.html +++ b/testing/templates/json.html @@ -1 +1,4 @@ -{"foo": "{{ foo }}", "bar": "{{ bar }}"} +{ + "foo": "{{ foo }}", + "bar": {{ bar|json }} +} -- cgit