# HG changeset patch # User cmlenz # Date 1174036382 0 # Node ID e41c8cff992f93bd8b2ea712d66b52010441c2db # Parent 878ffab274a6e370df9cf7c8aef5d336cfec4377 Fix for #105. Thanks to Maciej Ligenza for the patch. diff --git a/genshi/input.py b/genshi/input.py --- 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: