As Klaus said, it isn't a bug. It is just how a browser will 'normalize' the html. And actually, we're talking about CSS. CSS 2.1 to be exact, and as I pointed out, the W3C specifically states that quotes are optional. Therefore, a browser can normalize the quotes however they want. That being said, it can really suck when a browser - *cough*, IE - does that . When returning the inner html (.html ()/.innerHTML) of an element, IE won't return valid HTML in accordance to the given doctype. It will return html with tags represented in all caps and no quotes around attribute values.
-Trey On Feb 13, 6:38 pm, Klaus Hartl <klaus.ha...@googlemail.com> wrote: > On 13 Feb., 01:03, weepy <jonah...@gmail.com> wrote: > > > I would still expect that the string you get back from the dom would > > be valid html. > > Where is that invalid HTML? > > --Klaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---