1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

Fix for bbcodes showing in news rss feed.

This commit is contained in:
Cameron
2015-07-16 18:12:41 -07:00
parent adef3da6bf
commit d7d81f9bb8
2 changed files with 28 additions and 3 deletions

View File

@@ -127,11 +127,12 @@ class news_rss // plugin-folder + '_rss'
if($row['news_summary'] && $this->summaryDescription == true)
{
$text = $row['news_summary'];
$text = $tp->toHtml($row['news_summary'],true);
}
else
{
$text= ($row['news_body']."<br />".$row['news_extended']);
$text= $tp->toHtml($row['news_body'],true). "<br />".$tp->toHtml($row['news_extended'], true);
}
if($this->showImages == true && !empty($row['news_thumbnail']))