summaryrefslogtreecommitdiff
path: root/pystache/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'pystache/template.py')
-rw-r--r--pystache/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pystache/template.py b/pystache/template.py
index c942cd7..690710e 100644
--- a/pystache/template.py
+++ b/pystache/template.py
@@ -110,7 +110,7 @@ class Template(object):
@modifier('{')
def render_unescaped(self, tag_name=None, context=None):
"""Render a tag without escaping it."""
- return str(context.get(tag_name, ''))
+ return unicode(context.get(tag_name, ''))
@modifier('>')
def render_partial(self, tag_name=None, context=None):