On May 1, 2007, at 8:49 AM, [EMAIL PROTECTED] wrote: > All my kid templates work great, but they seem to be parsed through > some kind of filter (pylons is using HTMLSerializer from Kid maybe?) > that converts all my tags into HTML 4.01 versions: <title> becomes > <TITLE> and <img src="blah" /> becomes <IMG SRC="blah"> > > what is it that is doing this? Is there some way for me to switch it > to spit out XHTML? or just to preferably leave my code as I wrote it? > It worries me that the server is going through this extra conversion > process for every page it renders.
I believe this is Kid doing that. Pylons has no output filtering of its own. You probably need to specify a default format for Kid of xhtml (though I'm pretty certain that the Pylons Kid defaults already set the format to xhtml...). Alternatively, you can specify format='xhtml' to render_response or render which should be passed to Kid. HTH, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---