aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-06-07 22:23:23 +0100
committerGitHub <noreply@github.com>2020-06-08 05:23:23 +0800
commitdf3bb8028a7cd8a69a3c76090d12f808ca7abc3b (patch)
tree210770477d209324562885e6777d3d150ce27035 /lib/output.js
parent28b7b15da19a2a081ab768f8315ce39db7c52b63 (diff)
downloadtracifyjs-df3bb8028a7cd8a69a3c76090d12f808ca7abc3b.tar.gz
tracifyjs-df3bb8028a7cd8a69a3c76090d12f808ca7abc3b.zip
fix corner cases related to `in` (#3964)
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 62050b4d..a9e0ca7b 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -305,6 +305,7 @@ function OutputStream(options) {
|| (ch == "/" && ch == prev)
|| ((ch == "+" || ch == "-") && ch == last)
|| str == "--" && last == "!"
+ || str == "in" && prev == "/"
|| last == "--" && ch == ">") {
OUTPUT += " ";
current_col++;