public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5623b1
)
fixes #845: \v escaping should be restricted to "screw_ie8" mode
author
Michael Ficarra
<github@michael.ficarra.me>
Tue, 27 Oct 2015 16:05:21 +0000
(09:05 -0700)
committer
Michael Ficarra
<github@michael.ficarra.me>
Tue, 27 Oct 2015 16:05:21 +0000
(09:05 -0700)
lib/output.js
patch
|
blob
|
history
diff --git
a/lib/output.js
b/lib/output.js
index
7d1e5db
..
5d75e70
100644
(file)
--- a/
lib/output.js
+++ b/
lib/output.js
@@
-95,7
+95,7
@@
function OutputStream(options) {
case "\f": return "\\f";
case "\n": return "\\n";
case "\r": return "\\r";
- case "\
v": return "\\v
";
+ case "\
x0B": return output.option("screw_ie8") ? "\\v" : "\\x0B
";
case "\u2028": return "\\u2028";
case "\u2029": return "\\u2029";
case '"': ++dq; return '"';