From 0baa65813092459ff57dd599225f44e2a789ed8d Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 12 Sep 2019 19:32:30 +0200 Subject: 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. --- application/feed/FeedBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/feed') diff --git a/application/feed/FeedBuilder.php b/application/feed/FeedBuilder.php index 7c859474..957c8273 100644 --- a/application/feed/FeedBuilder.php +++ b/application/feed/FeedBuilder.php @@ -157,7 +157,7 @@ class FeedBuilder $permalink = '' . t('Permalink') . ''; } $link['description'] = format_description($link['description'], $pageaddr); - $link['description'] .= PHP_EOL . '
— ' . $permalink; + $link['description'] .= PHP_EOL . PHP_EOL . '
— ' . $permalink; $pubDate = $link['created']; $link['pub_iso_date'] = $this->getIsoDate($pubDate); -- cgit v1.2.3