/** * Gets the name of group with some extra formatting. * @param $group MessageGroup * @return string Html */ public function getGroupLabel( MessageGroup $group ) { $groupLabel = htmlspecialchars( $group->getLabel() ); // Bold for meta groups. if ( $group->isMeta() ) { $groupLabel = Html::rawElement( 'b', null, $groupLabel ); } return $groupLabel; }