From: Alexandre Emsenhuber Date: Fri, 4 Apr 2008 21:51:32 +0000 (+0000) Subject: Force line breaks to avoid some XHTML errors with some messages that contains lists... X-Git-Tag: 1.31.0-rc.0~48612 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=410a014a9ffccefd08057db18c75c610d67cf561;p=lhc%2Fweb%2Fwiklou.git Force line breaks to avoid some XHTML errors with some messages that contains lists like MediaWiki:Titleblacklist --- diff --git a/includes/Article.php b/includes/Article.php index 9137a1cd3f..fa1475b422 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -153,7 +153,7 @@ class Article { $ret = wfMsg( $wgUser->isLoggedIn() ? 'noarticletext' : 'noarticletextanon' ); } - return "
$ret
"; + return "
\n$ret\n
"; } else { $this->loadContent(); wfProfileOut( __METHOD__ );