Fix category double escaping

Also random comment removal.

bug: T158011
Change-Id: Id0b66060be298236c36b62aaefdd663b81509512
isekai
Isarra 8 years ago
parent 9811d44774
commit dd920fd720

@ -130,7 +130,6 @@ class TimelessTemplate extends BaseTemplate {
* ... * ...
* ] * ]
* @param null|string|array|bool $msg * @param null|string|array|bool $msg
* @param string $class cssclass for the portal
* *
* @return string html * @return string html
* @since 1.29 * @since 1.29
@ -800,7 +799,7 @@ class TimelessTemplate extends BaseTemplate {
} }
$categories[ htmlspecialchars( $category ) ] = [ 'links' => [ 0 => [ $categories[ htmlspecialchars( $category ) ] = [ 'links' => [ 0 => [
'href' => $title->getLinkURL(), 'href' => $title->getLinkURL(),
'text' => htmlspecialchars( $title->getText() ) 'text' => $title->getText()
] ] ]; ] ] ];
} }

Loading…
Cancel
Save