From: Hypolite Petovan Date: Mon, 9 Jan 2017 01:25:52 +0000 (+1100) Subject: Fix overzealous quote replace X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af4e6a36d4145d8a0e136c3dd3c2fbed22e4ae59;p=friendica.git Fix overzealous quote replace --- 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(""); }