From 985ec501049fe90acc21760d5bfd5733162d69ae Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 17 Aug 2010 21:55:21 +0000 Subject: [PATCH] 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.) --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1