Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure result from apply block is utf8

  • Loading branch information...
commit 5339614d09aad04a85b1920282f710872bd2f7e1 1 parent 3258726
@dmitric authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tornado/template.py
View
2  tornado/template.py
@@ -479,7 +479,7 @@ def generate(self, writer):
writer.write_line("_append = _buffer.append", self.line)
self.body.generate(writer)
writer.write_line("return _utf8('').join(_buffer)", self.line)
- writer.write_line("_append(%s(%s()))" % (
+ writer.write_line("_append(_utf8(%s(%s())))" % (
self.method, method_name), self.line)
Please sign in to comment.
Something went wrong with that request. Please try again.