Is there a reason why we don't parse entities when we get the class attr? (I was looking at how we use Html_get_attr2() in all cases for Html_parse_common_attrs(), and a_Html_get_attr() the rest of the time, and I haven't noticed anything yet in the html4 spec that makes it sound like we shouldn't parse entities for class.)
On Tue, Sep 11, 2012 at 06:41:01PM +0000, corvid wrote:
Is there a reason why we don't parse entities when we get the class attr?
(I was looking at how we use Html_get_attr2() in all cases for Html_parse_common_attrs(), and a_Html_get_attr() the rest of the time, and I haven't noticed anything yet in the html4 spec that makes it sound like we shouldn't parse entities for class.)
I think it just got copy-pasted from the id-case. Same for style attribute.
participants (2)
-
corvid@lavabit.com
-
Johannes.Hofmann@gmx.de