From 0b9c201497d2e98195cf0daff510410cf17f1f05 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 9 Jun 2008 22:16:04 +0000 Subject: - fixed bug where 'output_encoding' parameter would prevent render_unicode() from returning a unicode object --- lib/mako/template.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/mako/template.py') diff --git a/lib/mako/template.py b/lib/mako/template.py index 6a77570..b1441a4 100644 --- a/lib/mako/template.py +++ b/lib/mako/template.py @@ -122,6 +122,7 @@ class Template(object): def render_unicode(self, *args, **data): """render the output of this template as a unicode object.""" + return runtime._render(self, self.callable_, args, data, as_unicode=True) def render_context(self, context, *args, **kwargs): -- cgit v1.2.3