commit | 9cf9591ef788fcca284d9fc1b4997e2cb888e7f0 | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Sat May 24 19:54:43 2008 +0200 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Sat May 24 19:54:43 2008 +0200 |
tree | 7a22163f728de59b3ebc61c182370e596d55538a | |
parent | 4e6f9a254910ce3524ea9a1c9bfb6feb54716f01 [diff] [blame] |
fixed bug with static unicode strings and auto escaping --HG-- branch : trunk
diff --git a/jinja2/environment.py b/jinja2/environment.py index 95dda11..45d684d 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py
@@ -642,8 +642,7 @@ def __init__(self, gen): self._gen = gen - self._next = gen.next - self.buffered = False + self.disable_buffering() def disable_buffering(self): """Disable the output buffering."""