[jQuery] Re: html() does unexpected escaping:

2009-08-04 Thread Michael Geary
You're right that the src attribute is being escaped, but it's not jQuery doing it. When in doubt, take jQuery out of the equation and find out what the browser does natively: var div = document.createElement( 'div' ); div.innerHTML = ''; alert( div.innerHTML ); I didn't test other

[jQuery] Re: html() does unexpected escaping:

2009-08-04 Thread Cesar Sanz
which one is scaped?? I see that src and class, both has "" - Original Message - From: "mikerobi" To: "jQuery (English)" 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 c