From: Platonides Date: Thu, 10 Jun 2010 11:16:41 +0000 (+0000) Subject: "

Don't have an account" is illegal xhtml X-Git-Tag: 1.31.0-rc.0~36554 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=68ec61e7691988160293bd12cf39aae305ea2a06;p=lhc%2Fweb%2Fwiklou.git "

Don't have an account" is illegal xhtml --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 0a41b1faf2..84f8fdded7 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -982,7 +982,7 @@ class LoginForm { # Don't show a "create account" link if the user can't if( $this->showCreateOrLoginLink( $wgUser ) ) - $template->set( 'link', wfMsgWikiHtml( $linkmsg, $link ) ); + $template->set( 'link', preg_replace('/(^

|<\/p>$)/', '', wfMsgWikiHtml( $linkmsg, $link ) ) ); else $template->set( 'link', '' );