aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mako/template.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-06-09 22:16:04 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-06-09 22:16:04 +0000
commit0b9c201497d2e98195cf0daff510410cf17f1f05 (patch)
tree610b1b7c0bd5e56d112a17b4760af579c2148e90 /lib/mako/template.py
parentf9cf6774a153a03063bf6b788c2307f568041e55 (diff)
downloadexternal_python_mako-0b9c201497d2e98195cf0daff510410cf17f1f05.tar.gz
external_python_mako-0b9c201497d2e98195cf0daff510410cf17f1f05.tar.bz2
external_python_mako-0b9c201497d2e98195cf0daff510410cf17f1f05.zip
- fixed bug where 'output_encoding' parameter would prevent
render_unicode() from returning a unicode object
Diffstat (limited to 'lib/mako/template.py')
-rw-r--r--lib/mako/template.py1
1 files changed, 1 insertions, 0 deletions
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):