Silly question, but did you change mIds to be "B" ?
It has to be upper case.
On Wed, Feb 10, 2010 at 12:55 AM, Ben Rose <be...@in...> wrote:
> 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
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Htmlparser-user mailing list
> Htm...@li...
> https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
|