Mercurial > genshi > mirror
comparison ChangeLog @ 694:07e3f6f0ef57 trunk
Match templates are now applied in a more controlled fashion: in the order they are declared in the template source, all match templates up to (and including) the matching template itself are applied to the matched content, whereas the match templates declared after the matching template are only applied to the generated content. Fixes #186. Many thanks to Matt Chaput for reporting the problem and providing a test case.
author | cmlenz |
---|---|
date | Wed, 26 Mar 2008 22:10:36 +0000 |
parents | 3881a602048a |
children | ed5044d318ed |
comparison
equal
deleted
inserted
replaced
693:35e143388705 | 694:07e3f6f0ef57 |
---|---|
49 * The `Stream.render` now accepts an optional `out` parameter that can be | 49 * The `Stream.render` now accepts an optional `out` parameter that can be |
50 used to pass in a writable file-like object to use for assembling the | 50 used to pass in a writable file-like object to use for assembling the |
51 output, instead of building a big string and returning it. | 51 output, instead of building a big string and returning it. |
52 * The XHTML serializer now strips `xml:space` attributes as they are only | 52 * The XHTML serializer now strips `xml:space` attributes as they are only |
53 allowed on very few tags. | 53 allowed on very few tags. |
54 * Match templates are now applied in a more controlled fashion: in the order | |
55 they are declared in the template source, all match templates up to (and | |
56 including) the matching template itself are applied to the matched content, | |
57 whereas the match templates declared after the matching template are only | |
58 applied to the generated content (ticket #186). | |
54 | 59 |
55 | 60 |
56 Version 0.4.4 | 61 Version 0.4.4 |
57 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ | 62 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ |
58 (Aug 14, 2007, from branches/stable/0.4.x) | 63 (Aug 14, 2007, from branches/stable/0.4.x) |