Re: [xml] [PATCH] Priorities for html-elements.

On Wed, May 09, 2001 at 07:34:26PM +0200, Jonas Borgström wrote:
Hi all,

I have attached a patch for HTMLparser.c which helps the parser
to do better when dealing with extra endtags.

ie.  a </font> won't close an open <td> element. But:
a </td> _will_ close an open <font> element.

This patch also removes the htmlEndClose array because
this is handled by assigning a higher priority to 
the "html", "head" and "body" elements.

What do you think?

  Sounds a better solution than the current state, I aplied your patch
and commited after a bit of cleanup :-)

  thanks a lot !


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]