Many thanks for this. I am a new TurboGears user (had been using pure
pylons)
and got stuck when looking at the permissions page as I could see it
is broken
in the 2.1 quickstart setup. I worked out that there was an html
rendering problem but could not navigate into repoze to find where
the
error was but found this thread. I was about to give up on
TurboGears ....

Now can one of you kind people tell me where I should set
emplating.genshi.method = html
?

I was gessing myapp/config/app_cfg.py

however I guess I am missing an import as I get:

NameError: name 'templating' is not defined

Your help would be appreciated.
On Nov 20, 7:40 pm, Christoph Zwerschke <[email protected]> wrote:
> Am 20.11.2010 19:32 schrieb Victor:
>
> > The textarea should not be self-closed, but somehow, genshi template
> > engine did that.  In TG2.0, I didn't see self-closed script or
> > textarea like this one in TG2.1.  I know how to solve this problem
> > which genshi, it is easy, switch the output method from "xhtml" to
> > "html" and it works.  But however,  I can't find any way to change the
> > output method of genshi easily with TG2, it seems the only way to do
> > it is to replace the rendering function?  Is that right?
>
> I think you can set templating.genshi.method = html in the config.
>
> -- 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