X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;fp=roojs-ui-debug.js;h=3a7892ae3f1d8bc8c1b2f1fdfe5dc008954ba748;hp=1d1a182c319c527537e4096d732c97e4714b5ee7;hb=682b55a93857ddf7a1e4c0a1876d412dbc199b0c;hpb=95d78328468f1edb0352fa1b0999841ae361327e diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 1d1a182c31..3a7892ae3f 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -20611,7 +20611,6 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { /** * @cfg {boolean} allowComments - default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this. */ - allowComments: false, // id of frame.. frameId: false, @@ -21526,8 +21525,10 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { // clean up silly Windows -- stuff? return; } - if (node.nodeName == "#comment" && !this.allowComments) { - node.parentNode.removeChild(node); + if (node.nodeName == "#comment") { + if (!this.allowComments) { + node.parentNode.removeChild(node); + } // clean up silly Windows -- stuff? return; }