Open GoogleCodeExporter opened 9 years ago
Chasing this one down further...
HtmlCleaner.createDocumentNodes() loops round the parent nodes, and on line
694, excludes content tokens that are equal to an empty string. It does not
recursively loop round the child nodes, so the ListTag.getListLines() method
includes the empty content nodes and adds the empty list item (line 72). I'm
not sure what your preference is - make the document nodes recursive, or add
additional checks to the ListTag class. I haven't checked other HtmlTag
implementations to see if they would need similar checking.
Original comment by oliver.e...@gmail.com
on 25 Feb 2014 at 5:25
Original issue reported on code.google.com by
oliver.e...@gmail.com
on 28 Jan 2014 at 2:10