From af4e6a36d4145d8a0e136c3dd3c2fbed22e4ae59 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 9 Jan 2017 12:25:52 +1100 Subject: [PATCH] Fix overzealous quote replace --- view/templates/head.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/templates/head.tpl b/view/templates/head.tpl index 3dd1bc7069..f28f51b4b3 100644 --- a/view/templates/head.tpl +++ b/view/templates/head.tpl @@ -104,7 +104,7 @@ ins = ins.replace("<","<"); ins = ins.replace(">",">"); ins = ins.replace("&","&"); - ins = ins.replace(""","""); + ins = ins.replace(""","\""); $("#comment-edit-text-" + id).val(tmpStr + ins); } @@ -119,7 +119,7 @@ ins = ins.replace("<","<"); ins = ins.replace(">",">"); ins = ins.replace("&","&"); - ins = ins.replace(""","""); + ins = ins.replace(""","\""); $("#comment-edit-text-" + id).val(tmpStr + ins); $(obj).val(""); } -- 2.39.5