From: Brion Vibber Date: Thu, 1 Jun 2006 04:35:19 +0000 (+0000) Subject: * Fix oddity with open tag parameters getting stuck on X-Git-Tag: 1.31.0-rc.0~56944 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=ee26aa351dcc552e04a0afbbc4385afc1819ccd9;p=lhc%2Fweb%2Fwiklou.git * Fix oddity with open tag parameters getting stuck on --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 8d7fbe292e..0eb51eded3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -397,6 +397,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * When showing the "blah has been undeleted" page, make sure it's a blue link * parserTests.php accepts a --file parameter to run an alternate test sutie * parser tests can now test extensions using !!hooks sections +* Fix oddity with open tag parameters getting stuck on == Compatibility == diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 25f4d57409..30c3a21209 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -400,8 +400,8 @@ class Sanitizer { if ( $t == 'table' ) { $tagstack = array_pop( $tablestack ); } - $newparams = ''; } + $newparams = ''; } else { # Keep track for later if ( in_array( $t, $tabletags ) && diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 5732c102a5..b65ded1b66 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -4013,6 +4013,15 @@ HTML nested ordered list, open tags (bug 5497) !! end +!! test +HTML ordered list item with parameters oddity +!! input +
  1. One
+!! result +
  1. One
+ +!! end + !!test bug 5918: autonumbering !! input