Fix RSS permalink included in Markdown bloc

Adds another line break before inserting RSS permalink to avoid including it in markdown blocs, such as blockquote.
This commit is contained in:
ArthurHoaro 2019-09-12 19:32:30 +02:00
parent 51837fe8ba
commit 0baa658130

View file

@ -157,7 +157,7 @@ class FeedBuilder
$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);