Hello, Just wanted to document this bug/feature in IE7:
alert($("<div>foo\nbar</div>").html()); This gives "foo bar" in IE7 and "foo\nbar" in FF. It might be related to http://groups.google.com/group/jquery-en/browse_thread/thread/6f03f58ac517aea9/0141d95da1ab6644?lnk=gst&q=whitespace#0141d95da1ab6644 I suspect this is done by IE's DOM parser? And there is nothing to do about it? Regards, -- Martijn.