projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cfff33
)
Roo/HtmlEditorCore.js
author
Alan Knowles
<alan@roojs.com>
Thu, 22 Aug 2019 01:51:39 +0000
(09:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 22 Aug 2019 01:51:39 +0000
(09:51 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
46ea4fc
..
268f7ce
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-335,7
+335,7
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
html = this.cleanHtml(html);
// fix up the special chars.. normaly like back quotes in word...
// however we do not want to do this with chinese..
- html = html.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[\u00
00-\u001f\u00
80-\uFFFF]/g, function(match) {
+ html = html.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[\u0080-\uFFFF]/g, function(match) {
var high, low, charValue, rep
var cc = match.charCodeAt();