Hi, >Well, that keeps the template from blowing up, but it passes the < >right through. So I end up with >for (var i = 0; i < foo.length; i++) >And (understandably), the javascript interpreter has a leeeetle >problem with that. > > Ah, you're right. Sorry, giving out duff advice here. Looking back, I realise I've only done this before in Genshi py:for blocks, not in JS. Well, the quick hack is to use >= instead, and swap the operands. Some other ideas:
Put this in a static .js file I wonder if Genshi has an equivalent to XSLT's disable-output-escaping? Someone mentioned CDATA. Good luck, Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

