sanitizer change

pull/2348/head
John McLear 2014-11-27 00:45:22 +00:00
parent e51ab2db24
commit 2c728b8e1b
1 changed files with 1 additions and 1 deletions

View File

@ -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)