"Simon Wittber" <[EMAIL PROTECTED]> writes: > It seems tags in a genshi template like: > > <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> > <link rel='stylesheet' href='/static/css/item.css' /> > > get changed to: > > <meta content="text/html; charset=UTF-8" http-equiv="content-type"> > <link rel='stylesheet' href='/static/css/item.css'> > > which is of course not valid XHTML!
Of course! It is saying that it is "text/html" above. Why would it be valid XHTML if it is outputting HTML? > Is genshi doing this, or something else in the TG pipe mangling the > XML? > > Has anyone come across this before me? Isn't there a switch as the one for Kid where you decide the output type you want? TG comes with a HTML default. Also remember that IE doesn't support XHTML served with the right content type so if you serve XHTML with a text/html doctype you end up with tagsoup in IE. You can google for several articles on the content type for XHTML subject. Be seeing you, -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

