Search This Blog

07 January 2011

genshi in turbogears and HTML

I've had problems with textarea widgets (from toscawidget) and with my tw.jqgrid since the upgrade of genshi.
the widget might generate a <texarea></textarea>

as the content is empty, genshi will output this in XHTML as <texarea/> and most browser will render the html source *inside* the text area.

if you want to force genshi to output html, in your development.ini :

debug = true
# Uncomment and replace with the address which should receive any error reports
#email_to =
smtp_server = localhost
error_email_from = paste@localhost
templating.genshi.method = HTML