Merge "Merge branch 'Wikidata' into master."
[lhc/web/wiklou.git] / includes / OutputPage.php
index 53f6da1..f0fd067 100644 (file)
@@ -2058,7 +2058,7 @@ class OutputPage extends ContextSource {
                $this->prepareErrorPage( $title );
 
                if ( $msg instanceof Message ){
-                       $this->addHTML( $msg->parse() );
+                       $this->addHTML( $msg->parseAsBlock() );
                } else {
                        $this->addWikiMsgArray( $msg, $params );
                }