##// END OF EJS Templates
templater: do not use stringify() to concatenate flattened template output
Yuya Nishihara -
r37176:b56b7918 default
parent child Browse files
Show More
@@ -815,7 +815,7 b' class templater(object):'
815
815
816 def render(self, t, mapping):
816 def render(self, t, mapping):
817 """Render the specified named template and return result as string"""
817 """Render the specified named template and return result as string"""
818 return templateutil.stringify(self.generate(t, mapping))
818 return b''.join(self.generate(t, mapping))
819
819
820 def generate(self, t, mapping):
820 def generate(self, t, mapping):
821 """Return a generator that renders the specified named template and
821 """Return a generator that renders the specified named template and
General Comments 0
You need to be logged in to leave comments. Login now