[Htmlparser-user] Bold Tag doesn't have children
Brought to you by:
derrickoswald
From: Ben R. <be...@in...> - 2010-02-10 01:12:25
|
Greetings, I would like to use bold tags ("b") with org.htmlparser, but have been unable to get them to work as expected. I added and registered a BoldTag class that is an exact copy of org.htmlparser.tags.ParagraphTag (with the "B" added to mEnders) but have not been able to make it work as expected. When looking at the children of the body node from the following html string, there are 3 children (<b>, <a>, </b>) instead of the single <b> as I would expect. "<html><body><b><a href='test.com'>Test</a></b></body></html>" Am I missing something here? -Ben Rose |