Index: trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php |
— | — | @@ -118,12 +118,9 @@ |
119 | 119 | } |
120 | 120 | else |
121 | 121 | { |
122 | | - $wgOut->addHTML( |
123 | | - Xml::tags( |
124 | | - 'div', |
125 | | - array( 'class' => 'optin-intro' ), |
126 | | - wfMsg( 'optin-intro' ) |
127 | | - ) |
| 122 | + $wgOut->wrapWikiMsg( |
| 123 | + "<div class='optin-intro'>\n$1\n</div>", |
| 124 | + array( 'optin-intro' ) |
128 | 125 | ); |
129 | 126 | $this->showOptInButtons(); |
130 | 127 | $wgOut->addWikiMsg( 'optin-improvements' ); |