Skip to content

Commit

Permalink
Merge pull request #19 from vdudouyt/master
Browse files Browse the repository at this point in the history
Security improvement: taking textarea.value is risky due to HTML enti…
  • Loading branch information
danishkhan authored Jan 10, 2017
2 parents 75da283 + f46110c commit 3d9c91a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nicEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ var nicEditorInstance = bkClass.extend({

editorElm.innerHTML = e.innerHTML;
if (isTextarea) {
editorElm.setContent(e.value);
this.copyElm = e;
var f = e.parentTag('FORM');
if (f) {
Expand Down

0 comments on commit 3d9c91a

Please sign in to comment.