Ticket #5132: 5132.patch

File 5132.patch, 792 bytes (added by Garry Yao, 14 years ago)
  • _source/core/dom/range.js

     
    925925
    926926                                                                                siblingText = sibling.getText();
    927927
    928                                                                                 if ( !(/[^\s\ufeff]/).test( siblingText ) )     // Spaces + Zero Width No-Break Space (U+FEFF)
     928                                                                                if ( (/[^\s\ufeff]/).test( siblingText ) )      // Spaces + Zero Width No-Break Space (U+FEFF)
    929929                                                                                        sibling = null;
    930930                                                                                else
    931931                                                                                {
     
    10841084
    10851085                                                                                siblingText = sibling.getText();
    10861086
    1087                                                                                 if ( !(/[^\s\ufeff]/).test( siblingText ) )
     1087                                                                                if ( (/[^\s\ufeff]/).test( siblingText ) )
    10881088                                                                                        sibling = null;
    10891089                                                                                else
    10901090                                                                                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy