Re: <![CDATA[ ... ]]> and HTML Elements
William McKee <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
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