[Zope] Re: ZPT parser changes from 2.6.x to 2.7.3 ?

Tres Seaver tseaver at zope.com
Tue Nov 16 11:45:01 EST 2004


I wrote:

> The HTML spec on dynamic document modification:
> 
>  http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.4
> 
> points out that you can also escape the forward slash (all of them need 
> escaping, not just the first one), e.g.:
> 
>   if (gecko) document.write('<\/table><\/td><\/tr>')

Here is the portion of the spec which mandates terminating the content 
of a CDATA-typed element (e.g, '<script>' or '<style>') at the first 
occurence of '</':

  http://www.w3.org/TR/REC-html40/types.html#h-6.2

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the Zope mailing list