From: Raimond Spekking Date: Mon, 17 Mar 2008 17:46:12 +0000 (+0000) Subject: Fix double escaping X-Git-Tag: 1.31.0-rc.0~49049 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=aad02bf0481a4cdae21851ff773be93c8218865f;p=lhc%2Fweb%2Fwiklou.git Fix double escaping --- diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index ff30f90b96..9a7a394e94 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -129,9 +129,8 @@ function wfSpecialImport( $page = '' ) { Xml::openElement( 'select', array( 'name' => 'interwiki' ) ) ); foreach( $wgImportSources as $prefix ) { - $iw = htmlspecialchars( $prefix ); - $selected = ($interwiki === $prefix) ? ' selected="selected"' : ''; - $wgOut->addHTML( Xml::option( $iw, $iw, $selected ) ); + $selected = ( $interwiki === $prefix ) ? ' selected="selected"' : ''; + $wgOut->addHTML( Xml::option( $prefix, $prefix, $selected ) ); } $wgOut->addHTML( Xml::closeElement( 'select' ) .