Permalink
Browse files

Fixed extensions not loading properly with overlays

  • Loading branch information...
1 parent e104f30 commit 7b93e7ef53e5008bcb2caf6405f08e863c244789 @mitsuhiko mitsuhiko committed Oct 17, 2010
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGES
  2. +1 −1 jinja2/environment.py
View
@@ -5,6 +5,8 @@ Version 2.5.4
-------------
(bugfix release, release date to be announced)
+- Fixed extensions not loading properly with overlays.
+
Version 2.5.3
-------------
(bugfix release, released on October 17th 2010)
View
@@ -335,7 +335,7 @@ def overlay(self, block_start_string=missing, block_end_string=missing,
for key, value in self.extensions.iteritems():
rv.extensions[key] = value.bind(rv)
if extensions is not missing:
- rv.extensions.update(load_extensions(extensions))
+ rv.extensions.update(load_extensions(rv, extensions))
return _environment_sanity_check(rv)

0 comments on commit 7b93e7e

Please sign in to comment.