scottgonzalez / pretty-diff

colorized HTML diffs
MIT License
218 stars 27 forks source link

escape $ #29

Closed xqin closed 6 years ago

xqin commented 6 years ago

bug fix.

git diff:

diff --git a/1.js b/1.js
index 8b13789..0f26aea 100644
--- a/1.js
+++ b/1.js
@@ -1 +1 @@
-
+/\$</

before fix: image

after fix: image

scottgonzalez commented 6 years ago

Thanks!

Released in v0.7.1.