Edgewall Software

Ticket #77: match_fix.diff

File match_fix.diff, 739 bytes (added by cmlenz, 9 years ago)

Possible fix… needs more testing

  • genshi/template/markup.py

     
    249249
    250250                    # Consume and store all events until an end event
    251251                    # corresponding to this start event is encountered
    252                     content = chain([event], self._match(_strip(stream), ctxt),
     252                    content = chain([event],
     253                                    self._match(_strip(stream), ctxt,
     254                                                [match_templates[idx]]),
    253255                                    tail)
    254256                    content = list(self._include(content, ctxt))
    255257