Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -424,19 +424,19 @@ |
425 | 425 | } |
426 | 426 | |
427 | 427 | $attr['data-ct-mode'] = $this->mOptions['mode']; |
428 | | - $attr['data-ct-options'] = Xml::escapeTagsOnly( $this->getOptionsAsJsStructure() ); |
| 428 | + $attr['data-ct-options'] = $this->getOptionsAsJsStructure(); |
429 | 429 | |
430 | 430 | $html = ''; |
431 | | - $html .= Xml::openElement( 'div', $attr ); |
| 431 | + $html .= Html::openElement( 'div', $attr ); |
432 | 432 | |
433 | 433 | if ( !$allowMissing && !$title->getArticleID() ) { |
434 | | - $html .= Xml::openElement( 'span', array( 'class' => 'CategoryTreeNotice' ) ); |
| 434 | + $html .= Html::openElement( 'span', array( 'class' => 'CategoryTreeNotice' ) ); |
435 | 435 | if ( $parser ) { |
436 | 436 | $html .= $parser->recursiveTagParse( wfMsgNoTrans( 'categorytree-not-found', $category ) ); |
437 | 437 | } else { |
438 | 438 | $html .= wfMsgExt( 'categorytree-not-found', 'parseinline', htmlspecialchars( $category ) ); |
439 | 439 | } |
440 | | - $html .= Xml::closeElement( 'span' ); |
| 440 | + $html .= Html::closeElement( 'span' ); |
441 | 441 | } |
442 | 442 | else { |
443 | 443 | if ( !$hideroot ) { |