Ticket #341 (closed defect: duplicate)
Transformer.filter omitting end tags
|Reported by:||bobbysmith007@…||Owned by:||cmlenz|
This bug was reported and diagnosed on http://trac-hacks.org/ticket/5997
- Applying a Transformer('//div[@id="content"]/h1/text()').filter to was causing some end/begin tags of the tags in/around it to disappear (as described on the above ticket)
- The above ticket relates to a stream filter on the template /trac/ticket/templates/report_view.html
- http://trac-hacks.org/changeset/6790 Describes how I fixed the bug (by using Dave Abrahams implementation of filter (as provided to me in a patch long ago)).
Sorry if this is not a bug, I am not familiar enough with Genshi to tell if I am just using it incorrectly. If so, please suggest an alternative solution.
If you need any further information please don't hesitate to ask.
Trac: 0.11.6stable-r8458 Python: 2.6.2 (release26-maint, Apr 19 2009, 02:15:38) [GCC 4.3.3] setuptools: 0.6c9 psycopg2: 2.0.8 Genshi: 0.5.1 mod_python: 3.3.1 GIT: 220.127.116.11 jQuery: 1.2.6