which one is scaped??I see that src and class, both has "" ----- Original Message ----- From: "mikerobi" <fractal...@gmail.com>
To: "jQuery (English)" <jquery-en@googlegroups.com> Sent: Tuesday, August 04, 2009 9:18 AM Subject: [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())