rjatkins / owaspantisamy

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

Blank space getting inserted in empty tags. #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use this input html
<html>
<body>
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
</body>
</html>

2. and run antisamy with formatOuput On.

expected output: No space between or surrounding parent or empty tags.

Actual output :Spaces get inserted. 

<html> <head><META http-equiv="Content-Type" content="text/html; 
charset=UTF-8"></head><body> <ul> <li>Coffee</li> <li>Milk</li> </ul> 
</body></html>

This is an issue, if the html is used in html editor which considers blank 
spaces. The html template gets modified.

Version :Antisamy 1.3
OS : Windows/Linux

Original issue reported on code.google.com by MuthuKum...@gmail.com on 7 Jun 2011 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by arshan.d...@gmail.com on 7 Jun 2011 at 8:38