Ticket #3862: 3862.patch
File 3862.patch, 1.9 KB (added by , 14 years ago) |
---|
-
_source/tests/core/htmlparser/fragment.html
175 175 '<div><b><font><span>A</span></font></b></div><div>X</div>' ); 176 176 }, 177 177 178 test_ticket_3862 : function() 179 { 180 testParser( '<p><span><a href="#"><b>link</a></b>text</span></p>', 181 '<p><span><a href="#"><b>link</b></a>text</span></p>' ); 182 }, 183 178 184 name : document.title 179 185 }; 180 186 })() ); -
_source/core/htmlparser/fragment.js
283 283 if ( candidate == currentNode ) 284 284 currentNode = currentNode.parent; 285 285 } 286 // The tag is not actually closing anything, thus we need invalidate 287 // the pending elements.(#3862) 288 else 289 { 290 pendingInline.splice( 0, index ); 291 index = 0; 292 } 286 293 287 294 // Check if there is any pending tag to be closed. 288 295 for ( ; index < pendingInline.length ; index++ ) -
CHANGES.html
86 86 <li><a href="http://dev.fckeditor.net/ticket/3812">#3812</a> : Fixed an issue in which the editor 87 87 may show up empty or uneditable in IE7, 8 and Firefox 3.</li> 88 88 <li><a href="http://dev.fckeditor.net/ticket/3825">#3825</a> : Fixed JS error when opening spellingcheck.</li> 89 <li><a href="http://dev.fckeditor.net/ticket/3825">#3862</a> : Fixed html parser infinite loop on certain malformed 90 source code.</li> 89 91 </ul> 90 92 <h3> 91 93 CKEditor 3.0 RC</h3>