sanjaiverma / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

Order of HTML comments gets rearranged #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Submit HTML with comments (<!-- -->) to the scan() method, and have the 
"preserveComments" option in the policy file set to "true"
2. Resulting HTML from getCleanHTML() method have all of the comments at the 
bottom, not in the original placement in the HTML

What is the expected output? What do you see instead?
We expected to see the HTML comments in the same place as they were in the 
original input, but they were all at the bottom of the output.

What version of the product are you using? On what operating system?
1.5.2 on multiple OSes

Please provide any additional information below.

Original issue reported on code.google.com by dprofan...@gmail.com on 26 Jul 2013 at 2:09