Roo/form/HtmlEditor.js
authorChris <chris@roojs.com>
Mon, 4 Mar 2013 05:32:22 +0000 (13:32 +0800)
committerChris <chris@roojs.com>
Mon, 4 Mar 2013 05:32:22 +0000 (13:32 +0800)
Roo/form/HtmlEditor.js

index 3a318df..b10ff06 100644 (file)
@@ -443,7 +443,8 @@ Roo.form.HtmlEditor = Roo.extend(Roo.form.Field, {
                 }
             }
             html = this.cleanHtml(html);
-            // fix up the special chars..
+            // fix up the special chars.. normaly like back quotes in word...
+            // however we do not want to do this with chinese..
             html = html.replace(/([\x80-\uffff])/g, function (a, b) {
                 return "&#"+b.charCodeAt()+";" 
             });