-- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote
(on Tuesday, 18 December 2007, 08:05 AM -0500):
> -- Simon Mundy <[EMAIL PROTECTED]> wrote
> (on Tuesday, 18 December 2007, 04:35 PM +1100):
> > Escaping
> > The Helper escapes XHTML by using the <![CDATA[ and ]]> meta string, however
> > without that appropriate /* */ wrapper, my browser (Safari) throws a wobbly.
> > Would it be more appropriate to assume the /* <![CDATA[ */ prefix and /* 
> > ]]> */
> > suffix as default?
> 
> Yes -- I'll fix that shortly.

Actually, just did some more research on this, and it appears that
regardless of whether you're using HTML or XHTML, normal HTML comments
should be used instead of CDATA escaping (e.g., "<!--\n....\n-->"). I'm
working on that change now.

For more information:

    
http://developer.mozilla.org/en/docs/Properly_Using_CSS_and_JavaScript_in_XHTML_Documents#Examples


-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to