[Petal] <![CDATA[ ... ]]> and HTML Elements
Chris Croome
chris at webarchitects.co.uk
Mon Nov 8 12:50:59 GMT 2004
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 at webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
More information about the Petal
mailing list