From: ArthurHoaro Date: Thu, 12 Sep 2019 17:32:30 +0000 (+0200) Subject: Fix RSS permalink included in Markdown bloc X-Git-Tag: v0.12.0-beta~40^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0baa65813092459ff57dd599225f44e2a789ed8d;p=github%2Fshaarli%2FShaarli.git 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. --- 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);