Am 27.04.2011 00:51 schrieb [email protected]:
I'm using TurboGears 2.1 and my app.cfg contains the following:

Ok, then you should be careful when using TG 1 docs because they talk about TG widgets, not Toscawidgets which you were probably using.

Not sure what you mean by doctype or how to find that.

First line of the templates. Learn (google) a bit about doctypes because they influence how your pages are parsed and rendered. Also, it is important that you choose a Genshi output method which is consistent with the doctype. Unfortunately TG 2.1 has a bug that lets it assume XML as output method which is nearly always wrong. You need to explicitely set templating.genshi.method = xhtml or html in the config.
When you set up everything correctly, you probably won't need the CDATA.

-- Christoph

--
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.

Reply via email to