The CDATA trick works perfectly for me (using TG 1.05): <script type="text/javascript"> //<![CDATA[
... your script here ... //]]> </script> On Aug 20, 5:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > This thread is > closed:http://groups.google.com/group/turbogears/browse_thread/thread/5bcd00... > > But the basic issue is that genshi won't allow a less than in > javascript. > > Has anyone figured out how to solve this without resorting to a static > javscript file? > > (I need to do variable substitution in my javascript code.) > > I tried CDATA---no dice. It doesn't pass anything along in the cdata > section. It seems to behave the same as <!--! would. > > And I tired < --- but as the original thread states it sends that > straight through and javascript sees it as a < > > Any new ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

