Mercurial > genshi > mirror
changeset 419:d2dc490aa998 trunk
Fix for #105. Thanks to Maciej Ligenza for the patch.
author | cmlenz |
---|---|
date | Fri, 16 Mar 2007 09:13:02 +0000 |
parents | c478a6fa9e77 |
children | 91556138dae5 |
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: