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
> &amp;lt;,&amp;gt;,&amp;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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.