diff options
-rw-r--r-- | pystache/template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pystache/template.py b/pystache/template.py index 10b72aa..7776a7b 100644 --- a/pystache/template.py +++ b/pystache/template.py @@ -104,7 +104,7 @@ class Template(object): @modifier('{') def render_unescaped(self, tag_name=None, context=None): """Render a tag without escaping it.""" - return context.get(tag_name, '') + return str(context.get(tag_name, '')) @modifier('>') def render_partial(self, tag_name=None, context=None): |