Skip to content

Commit

Permalink
Security improvement: taking textarea.value is risky due to HTML enti…
Browse files Browse the repository at this point in the history
…ties interpretation
  • Loading branch information
vdudouyt committed Jan 9, 2017
1 parent 75da283 commit f46110c
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 f46110c

Please sign in to comment.