From 163914f0897be8a0d1b15b95977f5f25f0f03cee Mon Sep 17 00:00:00 2001 From: Alex Z Date: Sat, 27 Dec 2008 20:17:53 +0000 Subject: [PATCH] use Xml::tags() instead of Xml::element() in SpecialInterwiki::error() so as not to escape the content --- includes/specials/SpecialInterwiki.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialInterwiki.php b/includes/specials/SpecialInterwiki.php index 56ef2ae54f..83b26e30e2 100644 --- a/includes/specials/SpecialInterwiki.php +++ b/includes/specials/SpecialInterwiki.php @@ -269,6 +269,6 @@ class SpecialInterwiki extends SpecialPage { function error( $msg ) { global $wgOut; - $wgOut->addHTML( Xml::element('p', array( 'class' => 'error' ), $msg ) ); + $wgOut->addHTML( Xml::tags( 'p', array( 'class' => 'error' ), $msg ) ); } } -- 2.20.1