From 947aef405cae91e3ea49e58875576c4d0ebb5e4a Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Fri, 30 Sep 2016 14:54:35 +0200 Subject: [PATCH] Add more characters that should not be un-escaped in regexps. --- lib/output.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/output.js b/lib/output.js index 62dbf49b..05f8b5d1 100644 --- a/lib/output.js +++ b/lib/output.js @@ -1282,6 +1282,7 @@ function OutputStream(options) { 0x0a , // \n 0x0d , // \r 0x00 , // \0 + 0x1f , 0xfeff , // Unicode BOM 0xffff , // Unicode noncharacter 0x2028 , // unicode "line separator"