Index: trunk/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: trunk/phase3/RELEASE-NOTES |
— | — | @@ -115,6 +115,7 @@ |
116 | 116 | This sort of special casing should be removed and fixed properly. |
117 | 117 | * Remove useless whitespace from Special:Brokenredirects header |
118 | 118 | * Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default text |
| 119 | +* (bug 5497) regeression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>) |
119 | 120 | |
120 | 121 | == Compatibility == |
121 | 122 | |