diff --git a/build/post-compile.js b/build/post-compile.js index 2d3796393..310578134 100644 --- a/build/post-compile.js +++ b/build/post-compile.js @@ -31,7 +31,7 @@ source = source .replace(/(document[^&]+&&)\s*(?:\w+|!\d)/, '$1!({toString:0}+"")') .replace(/"\t"/g, '"\\t"') - .replace(/"[^"]*?\\u180e[^"]*?"/g, + .replace(/"[^"]*?\\f[^"]*?"/g, '" \\t\\x0B\\f\\xa0\\ufeff' + '\\n\\r\\u2028\\u2029' + '\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000"'