Roo/HtmlEditorCore.js
authorEdward <edward@roojs.com>
Thu, 19 Mar 2015 07:39:17 +0000 (15:39 +0800)
committerEdward <edward@roojs.com>
Thu, 19 Mar 2015 07:39:17 +0000 (15:39 +0800)
Roo/HtmlEditorCore.js

index 8addbee..2609a0c 100644 (file)
@@ -1062,15 +1062,15 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             
         }
         
+        var cwhite = this.cwhite;
+        var cblack = this.cblack;
+            
         function cleanStyle(n,v)
         {
             if (v.match(/expression/)) { //XSS?? should we even bother..
                 node.removeAttribute(n);
                 return;
             }
-            var cwhite = this.cwhite;
-            var cblack = this.cblack;
-            
             
             var parts = v.split(/;/);
             var clean = [];