aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai.bazon@gmail.com>2014-01-26 00:06:19 -0800
committerMihai Bazon <mihai.bazon@gmail.com>2014-01-26 00:06:19 -0800
commit2eeb640eca927e40fd7204b8a66d23f45204eddd (patch)
treeafac21fffa39b8f5d6af8cecb74afdab4f4dcf03 /lib/output.js
parent6f9d0517841a543807019daf51a88c5e24c24690 (diff)
parentf5f8239057f1c9a3a9e25d042a8b02c4141e9855 (diff)
downloadtracifyjs-2eeb640eca927e40fd7204b8a66d23f45204eddd.tar.gz
tracifyjs-2eeb640eca927e40fd7204b8a66d23f45204eddd.zip
Merge pull request #408 from danielstutzman/escape-null-in-regex
Don't unescape \x00 in regexes (it breaks IE8)
Diffstat (limited to 'lib/output.js')
-rw-r--r--lib/output.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js
index c2f49e9e..2676aa93 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -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"