Force line breaks to avoid some XHTML errors with some messages that contains lists like MediaWiki:Titleblacklist

This commit is contained in:
Alexandre Emsenhuber 2008-04-04 21:51:32 +00:00
parent 339bd66779
commit 410a014a9f

View file

@ -153,7 +153,7 @@ class Article {
$ret = wfMsg( $wgUser->isLoggedIn() ? 'noarticletext' : 'noarticletextanon' );
}
return "<div class='noarticletext'>$ret</div>";
return "<div class='noarticletext'>\n$ret\n</div>";
} else {
$this->loadContent();
wfProfileOut( __METHOD__ );