1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Merge pull request #1598 from rica-carv/rica-carv-news_title

Improved parsing in news_title shortcode
This commit is contained in:
Cameron
2016-04-30 15:22:45 -07:00

View File

@@ -858,7 +858,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()