diff genshi/template.py @ 369:0d749146842c stable-0.3.x

Ported [444] to 0.3.x.
author cmlenz
date Wed, 22 Nov 2006 21:00:43 +0000
parents f738ffe8f1dd
children 077fe85dff13
line wrap: on
line diff
--- a/genshi/template.py
+++ b/genshi/template.py
@@ -1140,8 +1140,9 @@
 
                     # Consume and store all events until an end event
                     # corresponding to this start event is encountered
-                    content = chain([(kind, data, pos)],
-                                    self._match(_strip(stream), ctxt),
+                    content = chain([(kind, data, pos)], 
+                                    self._match(_strip(stream), ctxt, 
+                                    [match_templates[idx]]),
                                     tail)
                     for filter_ in self.filters[3:]:
                         content = filter_(content, ctxt)
Copyright (C) 2012-2017 Edgewall Software