Edgewall Software

Changeset 511 for trunk/genshi/input.py


Ignore:
Timestamp:
Mar 16, 2007, 10:13:02 AM (17 years ago)
Author:
cmlenz
Message:

Fix for #105. Thanks to Maciej Ligenza for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/genshi/input.py

    r500 r511  
    3131    """Convert a given ElementTree element to a markup stream."""
    3232    tag_name = QName(element.tag.lstrip('{'))
    33     attrs = Attrs(element.items())
     33    attrs = Attrs([(QName(attr), value) for attr, value in element.items()])
    3434
    3535    yield START, (tag_name, attrs), (None, -1, -1)
Note: See TracChangeset for help on using the changeset viewer.