dengdai68-zz / xssprotect

Automatically exported from code.google.com/p/xssprotect
Apache License 2.0
0 stars 0 forks source link

Comments shold be removed (ignored?) #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Input HTML example begin"
<html>
<!-- Remove me -->
</html>
"end

Filtered HTML begin"
<html><remove me></remove></html>
"end

What is the expected output? What do you see instead?
Remove all comments.

What version of the product are you using? On what operating system?

Please provide any additional information below.
Error log:
line 2:1 no viable alternative at character '!'
line 2:2 no viable alternative at character '-'
line 2:3 no viable alternative at character '-'
line 2:15 no viable alternative at character '-'
line 2:16 no viable alternative at character '-'
line 3:0 end tag (html) does not match start tag (Remove) currently open,
closing it anyway

Original issue reported on code.google.com by xyyzz...@gmail.com on 18 Jun 2009 at 3:48