diff --git a/components/com_tags/src/View/Tag/FeedView.php b/components/com_tags/src/View/Tag/FeedView.php index 9a3fd8164bcd9..158c627f3763e 100644 --- a/components/com_tags/src/View/Tag/FeedView.php +++ b/components/com_tags/src/View/Tag/FeedView.php @@ -84,8 +84,14 @@ public function display($tpl = null) $title = $this->escape($item->core_title); $title = html_entity_decode($title, ENT_COMPAT, 'UTF-8'); - // Strip HTML from feed item description text - $description = $item->core_body; + // Build HTML feed item description (image + body) + $description = ''; + $obj = json_decode($item->core_images); + + if (!empty($obj->image_intro)) { + $description = '

' . HTMLHelper::_('image', $obj->image_intro, $obj->image_intro_alt) . '

'; + } + $description .= $item->core_body; $author = $item->core_created_by_alias ?: $item->author; $date = ($item->displayDate ? date('r', strtotime($item->displayDate)) : '');