Mercurial > genshi > genshi-test
diff genshi/input.py @ 459:ce59beb0d29b stable-0.4.x
Port [554] to stable.
author | cmlenz |
---|---|
date | Tue, 17 Apr 2007 18:44:57 +0000 |
parents | e065d7906b68 |
children | 6b5544bb5a99 |
line wrap: on
line diff
--- a/genshi/input.py +++ b/genshi/input.py @@ -39,7 +39,8 @@ :return: a markup stream """ tag_name = QName(element.tag.lstrip('{')) - attrs = Attrs([(QName(attr), value) for attr, value in element.items()]) + attrs = Attrs([(QName(attr.lstrip('{')), value) + for attr, value in element.items()]) yield START, (tag_name, attrs), (None, -1, -1) if element.text: