sanitizer change
parent
e51ab2db24
commit
2c728b8e1b
|
@ -32,7 +32,7 @@ var _ = require('./underscore');
|
||||||
|
|
||||||
function sanitizeUnicode(s)
|
function sanitizeUnicode(s)
|
||||||
{
|
{
|
||||||
return UNorm.nfc(s).replace(/[\uffff\ufffe\ufeff\ufdd0-\ufdef\ud800-\udfff]/g, '?');
|
return UNorm.nfc(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
function makeContentCollector(collectStyles, browser, apool, domInterface, className2Author)
|
function makeContentCollector(collectStyles, browser, apool, domInterface, className2Author)
|
||||||
|
|
Loading…
Reference in New Issue