1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Changed to parse Shortcodes on the news_title, if any....

Changed to parse Shortcodes on the news_title, if any....
This commit is contained in:
rica-carv
2016-04-30 22:37:00 +01:00
parent 2fda760e02
commit e0cae46ec7

View File

@@ -853,7 +853,7 @@ class news_shortcodes extends e_shortcode
{
return $url;
}
return "<a style='".(isset($this->param['itemlink']) ? $this->param['itemlink'] : 'null')."' href='{$url}'>".$this->news_item['news_title'].'</a>';
return "<a style='".(isset($this->param['itemlink']) ? $this->param['itemlink'] : 'null')."' href='{$url}'>".e107::getParser()->toHTML($this->news_item['news_title'], TRUE, "TITLE").'</a>';
}
function sc_newsurl()