Mercurial > genshi > genshi-test
diff genshi/template/markup.py @ 798:c690de5abafd stable-0.5.x
Ported [914], [970], and [971] to 0.5.x branch.
author | cmlenz |
---|---|
date | Thu, 15 Jan 2009 23:50:09 +0000 |
parents | cf0a0a066aec |
children | 1b6968d31089 98a1b03bbc89 |
line wrap: on
line diff
--- a/genshi/template/markup.py +++ b/genshi/template/markup.py @@ -244,10 +244,9 @@ for event in stream: - # We (currently) only care about start and end events for matching + # We (currently) only care about start events for matching # We might care about namespace events in the future, though - if not match_templates or (event[0] is not START and - event[0] is not END): + if not match_templates or event[0] is not START: yield event continue