Skip to content

Commit

Permalink
Fixes, based on @andrepereiradasilva's comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmayer committed Dec 27, 2016
1 parent 01aeea2 commit 6617b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/document/renderer/feed/atom.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public function render($name = '', $params = null, $content = null)
}

$feed .= " <link rel=\"alternate\" type=\"text/html\" href=\"" . $url . "\"/>\n";
$feed .= ' <id>' . str_replace(' ', '%20', $data->getBase()) . "</id>\n";
$feed .= ' <updated>' . htmlspecialchars($now->toISO8601(true), ENT_COMPAT, 'UTF-8') . "</updated>\n";
$feed .= " <id>" . str_replace(' ', '%20', $data->getBase()) . "</id>\n";
$feed .= " <updated>" . htmlspecialchars($now->toISO8601(true), ENT_COMPAT, 'UTF-8') . "</updated>\n";

if ($data->editor != '')
{
Expand Down

0 comments on commit 6617b61

Please sign in to comment.