Skip to content

Commit a91af37

Browse files
authored
Force tag value to be string before rendering (#66)
Fixes #65
1 parent 0d0d972 commit a91af37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classytags/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def render(self, context):
148148
items = self.kwargs.items()
149149
kwargs = dict([(key, value.resolve(context)) for key, value in items])
150150
kwargs.update(self.blocks)
151-
return self.render_tag(context, **kwargs)
151+
return str(self.render_tag(context, **kwargs))
152152

153153
def render_tag(self, context, **kwargs):
154154
"""

0 commit comments

Comments
 (0)