Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -4013,6 +4013,15 @@ |
4014 | 4014 | |
4015 | 4015 | !! end |
4016 | 4016 | |
| 4017 | +!! test |
| 4018 | +HTML ordered list item with parameters oddity |
| 4019 | +!! input |
| 4020 | +<ol><li id="fragment">One</li></ol> |
| 4021 | +!! result |
| 4022 | +<ol><li id="fragment">One</li></ol> |
| 4023 | + |
| 4024 | +!! end |
| 4025 | + |
4017 | 4026 | !!test |
4018 | 4027 | bug 5918: autonumbering |
4019 | 4028 | !! input |
Index: trunk/phase3/includes/Sanitizer.php |
— | — | @@ -400,8 +400,8 @@ |
401 | 401 | if ( $t == 'table' ) { |
402 | 402 | $tagstack = array_pop( $tablestack ); |
403 | 403 | } |
404 | | - $newparams = ''; |
405 | 404 | } |
| 405 | + $newparams = ''; |
406 | 406 | } else { |
407 | 407 | # Keep track for later |
408 | 408 | if ( in_array( $t, $tabletags ) && |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -397,6 +397,7 @@ |
398 | 398 | * When showing the "blah has been undeleted" page, make sure it's a blue link |
399 | 399 | * parserTests.php accepts a --file parameter to run an alternate test sutie |
400 | 400 | * parser tests can now test extensions using !!hooks sections |
| 401 | +* Fix oddity with open tag parameters getting stuck on </li> |
401 | 402 | |
402 | 403 | |
403 | 404 | == Compatibility == |