Re: [xml] [PATCH] Javascript wrapped up in comments



On Thu, Nov 08, 2001 at 02:06:29PM +0100, The Dude wrote:
Hi,

yet another little fix for HTMLparse.c:
The following Javascript is not parsed correctly:

<script>
<!--
self.document.write("<b></b>");
-->
</script>

The attached patch fixes this by parsing javascript wrapped up in comments.

  Sorry, your script is incorrect.

 http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.2.1

  not a bug, a feature !

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
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]