Changeset 3416


Ignore:
Timestamp:
04/23/09 11:01:20 (6 years ago)
Author:
fredck
Message:

#3341 : [IE] getOuterHtml was broken for namespaced element names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/core/dom/element.js

    r3407 r3416  
    336336                { 
    337337                        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                        } 
    339343 
    340344                        var tmpDiv = this.$.ownerDocument.createElement( 'div' ); 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy