[jQuery] html() does unexpected escaping:

[jQuery] html() does unexpected escaping:


In the following example: the src attribute is escaped but not the
class attribute. I wouldn't expect any escaping.
$('<div><img src="{p1}" class="{p2}"/></div>').html())