chameleon unescapes entities in attributes while processing

Bug #352607 reported by Sidnei da Silva
4
Affects Status Importance Assigned to Milestone
Chamelon Core
Confirmed
Wishlist
Malthe Borch

Bug Description

Similar to Bug #350042, but this time in attributes.

Revision history for this message
Sidnei da Silva (sidnei) wrote :

A failing test was added in r4034.

Changed in chameleon.core:
assignee: nobody → mborch
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Malthe Borch (mborch) wrote :

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.

Changed in chameleon.core:
importance: Medium → Wishlist
Revision history for this message
Malthe Borch (mborch) wrote :

The failing test that demonstrates this has been adjusted to accept the current behavior.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.