Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -982,7 +982,7 @@ |
983 | 983 | |
984 | 984 | # Don't show a "create account" link if the user can't |
985 | 985 | if( $this->showCreateOrLoginLink( $wgUser ) ) |
986 | | - $template->set( 'link', wfMsgWikiHtml( $linkmsg, $link ) ); |
| 986 | + $template->set( 'link', preg_replace('/(^<p>|<\/p>$)/', '', wfMsgWikiHtml( $linkmsg, $link ) ) ); |
987 | 987 | else |
988 | 988 | $template->set( 'link', '' ); |
989 | 989 | |