On Fri, 2007-07-09 at 19:05 +0200, Christoph Zwerschke wrote: > Iain duncan wrote: > > I just updated my turbogears to 1.0.3 with setuptools and now some code > > I got off the list doesn't work anymore. Unfortunately it's not an area > > I understand properly ... > > TurboKid 1.0.3 is now available at the Cheese Shop; please let me know > whether easy_installing the new TurboKid version solved your problem.
Thanks Christoph, the code works again now. However, it still does not seem to behave as I would expect ( it didn't before either. ) Two issues: - It doesn't seem to change the output format for any widgets, where should I do that? Do I need to do it in every individual widget or is there a global flag for that? - The list of noescape_elements behaves strangely. If I set it to an empty list, all elements are escaped as I would expect. If I don't set it and peek at it, the list has the style and script tag in it, but they get escaped anyway. If I add anything to the list, say div, the list appears to have ['style', 'script', 'div'], then suddenly *no* html tags are escaped. ( They all get through ). I suppose the other option is to have something like tidy or beautiful soup deal with it, but then I'm not sure how to deal with xml entities the best way. Is there someway to test in a validator whether kid's XML() function will let the code through? Thanks for looking at that so quickly! Iain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

