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

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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