So, I\'m trying to find an answer to why this problem is happening; I\'ve fixed the problem, but I want to know why it happened.
Google-provided conversi
I've solved the problem; it turns out that it had nothing to do with the contents of the .
It turns out the page is served by a framework that began using a backend DOM parser that, for reasons likely related to the presence of within a
tag within the
document.write
, completely removes the > closing tag from the generated page, even though it preserves it in the backend. (It's probably trying to enforce ETAGO rules).
The reason I was able to reproduce it was because I was copying the generated document.write
code, not the original code, and never noticed the missing . (And my "functioning" document.write code didn't have the stripped out
tag, leading me to believe that the problem was the contents of the
iframe
.)
As a result, browsers parsed an unclosed tag on the page, which Internet Explorer didn't know how to handle, and died part way through the parsing of the iframe (I'm still not totally sure why).