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
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
2 matches
Mail list logo