brothercake
06-20-2005, 09:14 PM
Basically, I have some HTML stored in an XML document (so it's in another namespace, but the root HTML node has the XHTML namespace, as it should) which I retrieve using XMLHttpRequest, then importNode the HTML from the responseXML, and append it into the main page.
Fine - except in Safari the resultant HTML is mangled - every open-tag has a self-closing slash, as though it were an empty element!
Here's a demo page: http://www.brothercake.com/Ref/mangleNode.html
If it works correctly, the text "hello world" will be a link surrounded by a orange border; if it's broken you'll get plain text and just the outer red border
So - is this a new bug in Safari? It works correctly in Konqueror, as it does in Opera and Moz.
edit: jkd has confirmed it's also broken in 2.0 - is anyone still running 1.2 who could check it out?
Fine - except in Safari the resultant HTML is mangled - every open-tag has a self-closing slash, as though it were an empty element!
Here's a demo page: http://www.brothercake.com/Ref/mangleNode.html
If it works correctly, the text "hello world" will be a link surrounded by a orange border; if it's broken you'll get plain text and just the outer red border
So - is this a new bug in Safari? It works correctly in Konqueror, as it does in Opera and Moz.
edit: jkd has confirmed it's also broken in 2.0 - is anyone still running 1.2 who could check it out?