Merge "Add string length limits"
[lhc/web/wiklou.git] / includes / exception / MWExceptionRenderer.php
index dbb984d..b22e87b 100644 (file)
@@ -128,7 +128,7 @@ class MWExceptionRenderer {
 
                        // Show any custom GUI message before the details
                        if ( $e instanceof MessageSpecifier ) {
-                               $wgOut->addHTML( Message::newFromSpecifier( $e )->escaped() );
+                               $wgOut->addHTML( Html::element( 'p', [], Message::newFromSpecifier( $e )->text() ) );
                        }
                        $wgOut->addHTML( self::getHTML( $e ) );