[Petal] <![CDATA[ ... ]]> and HTML Elements
William McKee
william at knowmad.com
Mon Nov 8 16:16:08 GMT 2004
On Mon, Nov 08, 2004 at 12:50:59PM +0000, Chris Croome wrote:
> This has come up before with respect to javascript, what should
> petal do, not touch things in CDATA sections?
I think this would be a good solution.
> The only problem with this is if you want to use some variables in
> a bit of embedded javascript.
If this is the case, put that code outside of the CDATA section.
Currently, I have to put most of my JavaScript into external files to
prevent interpolation by Petal. I only leave what is needed for variable
completion.
William
--
Knowmad Services Inc.
http://www.knowmad.com
More information about the Petal
mailing list