Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -617,11 +617,9 @@ |
618 | 618 | |
619 | 619 | #when showing only categories, omit namespace in label unless we explicitely defined the configuration setting |
620 | 620 | #patch contributed by Manuel Schneider <manuel.schneider@wikimedia.ch>, Bug 8011 |
621 | | - if ( $hideprefix ) $label = htmlspecialchars( $title->getText() ); |
622 | | - else $label = htmlspecialchars( $title->getPrefixedText() ); |
| 621 | + if ( $hideprefix ) $label = $wgContLang->convertHtml( $title->getText(), true ); |
| 622 | + else $label = $wgContLang->convertHtml( $title->getPrefixedText(), true ); |
623 | 623 | |
624 | | - $label = $wgContLang->convert( $label, true ); |
625 | | - |
626 | 624 | if ( $trans && $trans!=$label ) $label.= ' ' . Xml::element( 'i', array( 'class' => 'translation'), $trans ); |
627 | 625 | |
628 | 626 | $labelClass = 'CategoryTreeLabel ' . ' CategoryTreeLabelNs' . $ns; |