Merge pull request #1364 from ArthurHoaro/hotfix/md-rss-permalink

Fix RSS permalink included in Markdown bloc
This commit is contained in:
nodiscc 2019-09-14 14:39:49 +00:00 committed by GitHub
commit fc66e61ca9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,7 +157,7 @@ protected function buildItem($link, $pageaddr)
$permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>';
}
$link['description'] = format_description($link['description'], $pageaddr);
$link['description'] .= PHP_EOL . '<br>&#8212; ' . $permalink;
$link['description'] .= PHP_EOL . PHP_EOL . '<br>&#8212; ' . $permalink;
$pubDate = $link['created'];
$link['pub_iso_date'] = $this->getIsoDate($pubDate);