Skip to content

Commit

Permalink
Merge pull request #8726 from skrwt/patch-1
Browse files Browse the repository at this point in the history
Fix #8683 Relative URLs are not converted to absolute URLs in atom feed
  • Loading branch information
rdeutz committed Jan 6, 2016
2 parents 3b0a3ec + 755372b commit e6818c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/document/feed/renderer/atom.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function render($name = '', $params = null, $content = null)
if ($data->items[$i]->description != "")
{
$feed .= " <summary type=\"html\">" . htmlspecialchars($this->_relToAbs($data->items[$i]->description), ENT_COMPAT, 'UTF-8') . "</summary>\n";
$feed .= " <content type=\"html\">" . htmlspecialchars($data->items[$i]->description, ENT_COMPAT, 'UTF-8') . "</content>\n";
$feed .= " <content type=\"html\">" . htmlspecialchars($this->_relToAbs($data->items[$i]->description), ENT_COMPAT, 'UTF-8') . "</content>\n";
}

if (empty($data->items[$i]->category) === false)
Expand Down

0 comments on commit e6818c2

Please sign in to comment.