From: Aryeh Gregor Date: Tue, 17 Aug 2010 21:55:21 +0000 (+0000) Subject: Avoid spurious paragraph with new heading id's X-Git-Tag: 1.31.0-rc.0~35459 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=985ec501049fe90acc21760d5bfd5733162d69ae;p=lhc%2Fweb%2Fwiklou.git Avoid spurious paragraph with new heading id's Bug 24835. The use of made the parser put

around the tag, so use

instead. (Something was also adding a name="" attribute, but I'm not sure what. That should be killed.) --- diff --git a/includes/Linker.php b/includes/Linker.php index 64fb366207..af8332aba1 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1439,7 +1439,7 @@ class Linker { . " $text" . ""; if ( $legacyAnchor !== false ) { - $ret = "$ret"; + $ret = "
$ret"; } return $ret; }