Fix overzealous quote replace

This commit is contained in:
Hypolite Petovan 2017-01-09 12:25:52 +11:00
parent ecd86ec296
commit af4e6a36d4
1 changed files with 2 additions and 2 deletions

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("");
}