Fix overzealous quote replace

This commit is contained in:
Hypolite Petovan 2017-01-09 12:25:52 +11:00
parent ecd86ec296
commit af4e6a36d4

View file

@ -104,7 +104,7 @@
ins = ins.replace("&lt;","<");
ins = ins.replace("&gt;",">");
ins = ins.replace("&amp;","&");
ins = ins.replace("&quot;",""");
ins = ins.replace("&quot;","\"");
$("#comment-edit-text-" + id).val(tmpStr + ins);
}
@ -119,7 +119,7 @@
ins = ins.replace("&lt;","<");
ins = ins.replace("&gt;",">");
ins = ins.replace("&amp;","&");
ins = ins.replace("&quot;",""");
ins = ins.replace("&quot;","\"");
$("#comment-edit-text-" + id).val(tmpStr + ins);
$(obj).val("");
}