Skip to content

Commit

Permalink
fix missing title (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Sep 25, 2020
1 parent 9d05546 commit 8a823bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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,
specialchars(sprintf($GLOBALS['TL_LANG']['MSC']['readMore'], $objArticle->headline), true),
specialchars(sprintf($GLOBALS['TL_LANG']['MSC']['readMore'], $strTitle), true),
$strText,
($blnIsReadMore ? ' <span class="invisible">'.$strTitle.'</span>' : ''));
}
Expand Down

0 comments on commit 8a823bb

Please sign in to comment.