Index: branches/REL1_6/phase3/includes/Sanitizer.php |
— | — | @@ -404,6 +404,9 @@ |
405 | 405 | } elseif( in_array( $t, $htmlsingleonly ) ) { |
406 | 406 | # Hack to force empty tag for uncloseable elements |
407 | 407 | $brace = '/>'; |
| 408 | + } else if( in_array( $t, $htmlsingle ) ) { |
| 409 | + # Hack to not close $htmlsingle tags |
| 410 | + $brace = NULL; |
408 | 411 | } else { |
409 | 412 | if ( $t == 'table' ) { |
410 | 413 | array_push( $tablestack, $tagstack ); |
Index: branches/REL1_6/phase3/RELEASE-NOTES |
— | — | @@ -31,6 +31,7 @@ |
32 | 32 | wiki, not the language of the user performing the operation. |
33 | 33 | * (bug 5646) Compare for identical types in wfElement() |
34 | 34 | * Fix for concurrency problem in job queue (image description page invalidation) |
| 35 | +* (bug 5497) regeression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>) |
35 | 36 | |
36 | 37 | |
37 | 38 | == MediaWiki 1.6.3 == |