guistebal wrote:
> Hello,
>
> I begun to have some problems while adding a bit of javascript in my
> templates. The problem seems to be, whatever  the place inside the
> script, that any "<" must have a corresponding ">", like if it was
> expecting it to be a tag, or I get this error :
>
> TemplateSyntaxError: not well-formed (invalid token):
>
> It's quite annoying, all logical tests like >=,<=,<,> just don't work
> for me.
>
> Did I miss something somewhere? I'm using TG2.0rc1
>
> Christophe R
>   
It's ugly, but you could use &lt; or use CDATA sections.  I remember 
this being a problem way back when I was using XSLT.  I'm not exactly 
certain how you're doing it, but I wouldn't be mixing in <script> blocks 
in with the xhtml anyway if I could avoid it.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to