From dd920fd720aa5ef1f5fbefb470a0bcb21d089ad9 Mon Sep 17 00:00:00 2001 From: Isarra Date: Sat, 8 Apr 2017 14:52:25 +0000 Subject: [PATCH] Fix category double escaping Also random comment removal. bug: T158011 Change-Id: Id0b66060be298236c36b62aaefdd663b81509512 --- TimelessTemplate.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TimelessTemplate.php b/TimelessTemplate.php index c66e5a3..db4306a 100644 --- a/TimelessTemplate.php +++ b/TimelessTemplate.php @@ -130,7 +130,6 @@ class TimelessTemplate extends BaseTemplate { * ... * ] * @param null|string|array|bool $msg - * @param string $class cssclass for the portal * * @return string html * @since 1.29 @@ -800,7 +799,7 @@ class TimelessTemplate extends BaseTemplate { } $categories[ htmlspecialchars( $category ) ] = [ 'links' => [ 0 => [ 'href' => $title->getLinkURL(), - 'text' => htmlspecialchars( $title->getText() ) + 'text' => $title->getText() ] ] ]; }