I think there is a way to do it with the legacy renderers, but not yet for the new-style render functions.
The legacy buffet renderers take a bunch of options when they are setup. --Mark On Mon, Aug 25, 2008 at 7:46 PM, Lee McFadden <[EMAIL PROTECTED]> wrote: > > I've been looking through the rendering code for TG2 and I'm trying to > find a configuration option to allow for different doctypes in Genshi. > > TG1 had the following configuration options: > > genshi.default_doctype = "xhtml-strict" > genshi.outputformat = "xhtml" > > This would use the xhtml serializer and all templates would have an > XHTML Strict doctype. Is this currently available for TG2? If so, > I'm having some real difficulty finding it. If this isn't implemented > yet I'll whip up a solution to getting it working, I just don't want > to duplicate efforts =) > > Thanks, > > Lee > > -- > Lee McFadden > > blog: http://www.splee.co.uk > rejaw: http://rejaw.com/splee > twitter: http://twitter.com/splee > > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
