Changeset 515 for trunk/genshi/input.py
- Timestamp:
- Mar 20, 2007, 7:27:52 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/genshi/input.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/genshi/input.py
r514 r515 339 339 340 340 def handle_charref(self, name): 341 text = unichr(int(name)) 341 if name.lower().startswith('x'): 342 text = unichr(int(name[1:], 16)) 343 else: 344 text = unichr(int(name)) 342 345 self._enqueue(TEXT, text) 343 346
Note: See TracChangeset
for help on using the changeset viewer.
