Ticket #4690: 4690.patch

File 4690.patch, 731 bytes (added by Garry Yao, 14 years ago)
  • _source/core/htmlparser/fragment.js

     
    318318                                index = 0;
    319319                        }
    320320
    321                         // Check if there is any pending tag to be closed.
     321                        // Check if there is one pending tag to be closed.
    322322                        for ( ; index < pendingInline.length ; index++ )
    323323                        {
    324324                                // If found, just remove it from the list.
    325325                                if ( tagName == pendingInline[ index ].name )
    326326                                {
    327327                                        pendingInline.splice( index, 1 );
    328 
    329                                         // Decrease the index so we continue from the next one.
    330                                         index--;
     328                                        break;
    331329                                }
    332330                        }
    333331                };
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy