lib/template.py
changeset 21 b05979822dee
parent 11 fa216534ae45
child 26 9d3beac1b196
--- 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 :