projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ed86ff
)
Roo/form/HtmlEditor.js
author
Chris
<chris@roojs.com>
Mon, 4 Mar 2013 05:32:22 +0000
(13:32 +0800)
committer
Chris
<chris@roojs.com>
Mon, 4 Mar 2013 05:32:22 +0000
(13:32 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
3a318df
..
b10ff06
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-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()+";"
});