From f1cb6743891ffd3f38ca0bf6a0c94210e7730361 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 9 Jan 2014 22:41:30 -0500 Subject: Only escape ESCAPED_CHARS. Leave all other chars prefaced by a backslash alone. Fixes #242. Not sure why I thought that I needed to add another backslash. Thanks for the report and the test case @mhubig. --- tests/misc/escaped_chars_in_js.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/misc/escaped_chars_in_js.html (limited to 'tests/misc/escaped_chars_in_js.html') diff --git a/tests/misc/escaped_chars_in_js.html b/tests/misc/escaped_chars_in_js.html new file mode 100644 index 0000000..b821fb1 --- /dev/null +++ b/tests/misc/escaped_chars_in_js.html @@ -0,0 +1,12 @@ +

[javascript protected email address] +

\ No newline at end of file -- cgit v1.2.3