Don't unescape \x00 in regexes (it breaks IE8)
authorDaniel Stutzman <dtstutz@gmail.com>
Sat, 25 Jan 2014 18:55:39 +0000 (11:55 -0700)
committerDaniel Stutzman <dtstutz@gmail.com>
Sat, 25 Jan 2014 18:55:39 +0000 (11:55 -0700)
lib/output.js

index c2f49e9..2676aa9 100644 (file)
@@ -1140,6 +1140,7 @@ function OutputStream(options) {
             0x21   , // !
             0x0a   , // \n
             0x0d   , // \r
+            0x00   , // \0
             0xfeff , // Unicode BOM
             0x2028 , // unicode "line separator"
             0x2029 , // unicode "paragraph separator"