Unfortunately, the ``expat`` parser has a habit of converting HTML entities to their unicode equivalents. While it was fairly trivial to work around this issue for the text and tail of a tag, we'd need to actually parse tag attributes manually to get the same behavior for attributes.
Or alternatively, find out how to disable the automatic conversion.
Unfortunately, the ``expat`` parser has a habit of converting HTML entities to their unicode equivalents. While it was fairly trivial to work around this issue for the text and tail of a tag, we'd need to actually parse tag attributes manually to get the same behavior for attributes.
Or alternatively, find out how to disable the automatic conversion.