From: Alexandre Emsenhuber Date: Thu, 2 Jul 2009 15:24:13 +0000 (+0000) Subject: Xml::element() -> Xml::tags() since the content is already parsed. X-Git-Tag: 1.31.0-rc.0~41131 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=dd24efd9a5615e2c0e826adab20923d9d809880e;p=lhc%2Fweb%2Fwiklou.git Xml::element() -> Xml::tags() since the content is already parsed. Note: escaping parsed content breaks french typo since spaces before ;:?! are automatically converted to   by Parser::parse() and will be viewable by end-users if they're escaped. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 3f40bb5ad9..cc2843b6b9 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -766,7 +766,7 @@ class SpecialSearch { array( 'id' => 'mw-searchoptions', 'style' => 'margin:0em;' ) ) . Xml::element( 'legend', null, wfMsg('powersearch-legend') ) . - Xml::element( 'h4', null, wfMsgExt( 'powersearch-ns', array( 'parseinline' ) ) ) . + Xml::tags( 'h4', null, wfMsgExt( 'powersearch-ns', array( 'parseinline' ) ) ) . Xml::tags( 'div', array( 'id' => 'mw-search-togglebox' ),