Skip to content


Ensure apply block in template returns utf8 #606

merged 1 commit into from

2 participants


Previously it did not return utf8 which meant built in functions
such as linkify could cause problems as well

@bdarnell bdarnell merged commit 5339614 into tornadoweb:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 4, 2012
  1. @dmitric
Showing with 1 addition and 1 deletion.
  1. +1 −1 tornado/
2 tornado/
@@ -479,7 +479,7 @@ def generate(self, writer):
writer.write_line("_append = _buffer.append", self.line)
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)
Something went wrong with that request. Please try again.