Mercurial > genshi > genshi-test
changeset 419:e41c8cff992f
Fix for #105. Thanks to Maciej Ligenza for the patch.
author | cmlenz |
---|---|
date | Fri, 16 Mar 2007 09:13:02 +0000 |
parents | 878ffab274a6 |
children | aa32588342ae |
files | genshi/input.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi/input.py +++ b/genshi/input.py @@ -30,7 +30,7 @@ def ET(element): """Convert a given ElementTree element to a markup stream.""" tag_name = QName(element.tag.lstrip('{')) - attrs = Attrs(element.items()) + attrs = Attrs([(QName(attr), value) for attr, value in element.items()]) yield START, (tag_name, attrs), (None, -1, -1) if element.text: