Ticket #3612: 3612_1.patch

File 3612_1.patch, 549 bytes (added by Alfonso Martínez de Lizarrondo, 10 years ago)

Patch for non-IE browsers

  • _source/core/xml.js

     
    2525        else
    2626        {
    2727                if ( window.DOMParser )
    28                         baseXml = (new DOMParser()).parseFromString( xmlObjectOrData || '', 'text/xml' );
     28                        baseXml = (new DOMParser()).parseFromString((xmlObjectOrData || '').replace(/ /g, '\xA0'), 'text/xml' );
    2929                else if ( window.ActiveXObject )
    3030                {
    3131                        try { baseXml = new ActiveXObject( 'MSXML2.DOMDocument' ); }
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy