On Oct 5, 2005, at 10:32 PM, [EMAIL PROTECTED] wrote:


Hi,

Kid is very strict. It got confused if I embedd javascript in the
template and use a completely legal construct like :

if (a < 10)

I believe it is the '<' that is being interpretated as begining of tag.
Using the comment out trick like the following doesn't help.

That is actually not a perfectly legal construct in XML or XHTML, and Kid is an XML language. It does need to be escaped with entities or wrapped in <![CDATA[]]>.

-bob

Reply via email to