diff -r d40c339d3778 -r b05979822dee lib/template.py --- a/lib/template.py Sat Feb 07 03:35:37 2009 +0200 +++ b/lib/template.py Sat Feb 07 04:37:28 2009 +0200 @@ -55,11 +55,11 @@ def render_template (tpl, **params) : """ - Render the given template, returning the output, or raising a TemplateError + Render the given template, returning the output as a unicode string, or raising a TemplateError """ try : - return tpl.render(**params) + return tpl.render_unicode(**params) # a template may render other templates except TemplateError :