Skip to content

Commit

Permalink
do not use StringUtil::specialchars
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Aug 21, 2019
1 parent 23faa6a commit 325d18a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ private function generateNewsLink($strHref, $strTitle, $strText, $blnIsReadMore
{
return sprintf('<a href="%s" title="%s" itemprop="url">%s%s</a>',
$strHref,
\StringUtil::specialchars(sprintf($GLOBALS['TL_LANG']['MSC']['readMore'], $objArticle->headline), true),
specialchars(sprintf($GLOBALS['TL_LANG']['MSC']['readMore'], $objArticle->headline), true),
$strText,
($blnIsReadMore ? ' <span class="invisible">'.$strTitle.'</span>' : ''));
}
Expand Down

0 comments on commit 325d18a

Please sign in to comment.