Re: <![CDATA[ ... ]]> and HTML Elements
Chris Croome <chris-u/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
Hi On Sat 06-Nov-2004 at 03:07:08PM -0600, Warren Smith wrote: > I apologize if this gets posted twice... Your other address should be OK now :-) > > Is there a fix to get the Petal parser to respect <![CDATA[ ... ]]> and > HTML Elements? > > Petal seems hell-bent on removing any CDATA tags and parsing data inside > these supposedly "Protected Areas" and converting <,>,& and friends into > &lt;,&gt;,&amp. I can't for the life of me figure this one > out. This has come up before with respect to javascript, what should petal do, not touch things in CDATA sections? The only problem with this is if you want to use some variables in a bit of embedded javascript. Chris -- Chris Croome <chris-u/[email protected]> web design http://www.webarchitects.co.uk/ web content management http://mkdoc.com/