From fdf7376285a3fde8eade46e3b6ab98527a820e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=B6ffner?= <info@sebastian-hoeffner.de> Date: Wed, 17 Oct 2018 16:52:41 +0200 Subject: [PATCH] Commenting out html replacement as it resulted in the html elements not being displayed properly. --- app/templates/form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/form.html b/app/templates/form.html index 144cd7f..bccd34d 100644 --- a/app/templates/form.html +++ b/app/templates/form.html @@ -9,7 +9,7 @@ if (typeof json != 'string') { json = JSON.stringify(json, undefined, 2); } - json = json.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); + // json = json.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); return json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function (match) { var cls = 'number'; if (/^"/.test(match)) { -- GitLab