Fix overzealous quote replace
This commit is contained in:
parent
ecd86ec296
commit
af4e6a36d4
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@
|
||||||
ins = ins.replace("<","<");
|
ins = ins.replace("<","<");
|
||||||
ins = ins.replace(">",">");
|
ins = ins.replace(">",">");
|
||||||
ins = ins.replace("&","&");
|
ins = ins.replace("&","&");
|
||||||
ins = ins.replace(""",""");
|
ins = ins.replace(""","\"");
|
||||||
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
$("#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("&","&");
|
ins = ins.replace("&","&");
|
||||||
ins = ins.replace(""",""");
|
ins = ins.replace(""","\"");
|
||||||
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
||||||
$(obj).val("");
|
$(obj).val("");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue