只读模式
group, 分享
评论更多问题
博客标签总是存在一个
This commit is contained in:
lealife committed 2015-06-15 18:01:48 +08:00
1 parent 7e458bb433
commit 6987a38820
1453 files changed
+114558 -91533

No files matched your search

+4 -2
View File
@@ -9,6 +9,7 @@
*/
/*jshint bitwise:false */
/*eslint no-bitwise:0 */
/**
* Entity encoder class.
@@ -23,7 +24,7 @@ define("tinymce/html/Entities", [
var makeMap = Tools.makeMap;
var namedEntities, baseEntities, reverseEntities,
attrsCharsRegExp = /[&<>\"\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
attrsCharsRegExp = /[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
textCharsRegExp = /[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
rawCharsRegExp = /[<>&\"\']/g,
entityRegExp = /&(#x|#)?([\w]+);/g,
@@ -41,7 +42,8 @@ define("tinymce/html/Entities", [
"'": '&#39;',
'<': '&lt;',
'>': '&gt;',
'&': '&amp;'
'&': '&amp;',
'\u0060': '&#96;'
};
// Reverse lookup table for raw entities