Ticket #3341: 3341_4.patch
File 3341_4.patch, 641 bytes (added by , 15 years ago) |
---|
-
_source/core/dom/element.js
335 335 getOuterHtml : function() 336 336 { 337 337 if ( this.$.outerHTML ) 338 return this.$.outerHTML; 338 { 339 // IE includes the <?xml:namespace> tag in the outerHTML of 340 // namespaced element. So, we must strip it here. (#3341) 341 return this.$.outerHTML.replace( /<\?[^>]*>/, '' ); 342 } 339 343 340 344 var tmpDiv = this.$.ownerDocument.createElement( 'div' ); 341 345 tmpDiv.appendChild( this.$.cloneNode( true ) );