mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Merge pull request #1598 from rica-carv/rica-carv-news_title
Improved parsing in news_title shortcode
This commit is contained in:
@@ -858,7 +858,7 @@ class news_shortcodes extends e_shortcode
|
|||||||
{
|
{
|
||||||
return $url;
|
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()
|
function sc_newsurl()
|
||||||
|
Reference in New Issue
Block a user