Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -1310,7 +1310,7 @@ |
1311 | 1311 | } |
1312 | 1312 | $quantity = count( $label ); |
1313 | 1313 | $form .= Xml::openElement( 'span', array('class' => 'fr-rating-options') ) . "\n"; |
1314 | | - $form .= "<b>" . Xml::label( FlaggedRevs::getTagMsg($quality), "wp$quality" ) . ":</b>\n"; |
| 1314 | + $form .= "<b>" . Xml::tags( 'label', array( 'for' => "wp$quality" ), FlaggedRevs::getTagMsg( $quality ) ) . ":</b>\n"; |
1315 | 1315 | # If the sum of qualities of all flags is above 6, use drop down boxes |
1316 | 1316 | # 6 is an arbitrary value choosen according to screen space and usability |
1317 | 1317 | if( $size > 6 ) { |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | public static function getTagMsg( $tag ) { |
211 | 211 | self::load(); |
212 | 212 | wfLoadExtensionMessages( 'FlaggedRevs' ); |
213 | | - return wfMsgHtml("revreview-$tag"); |
| 213 | + return wfMsgExt( "revreview-$tag", array( 'escapenoentities' ) ); |
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |