diff options
author | nodiscc <nodiscc@gmail.com> | 2019-09-14 14:39:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-14 14:39:49 +0000 |
commit | fc66e61ca9c5e03704036f844a3c5671bf6c26ad (patch) | |
tree | 1fda6ada4810730662e4da674147d98a135d30ba /application | |
parent | 51837fe8ba2ed2ce191210d1d734fb27cb0329f9 (diff) | |
parent | 0baa65813092459ff57dd599225f44e2a789ed8d (diff) | |
download | Shaarli-fc66e61ca9c5e03704036f844a3c5671bf6c26ad.tar.gz Shaarli-fc66e61ca9c5e03704036f844a3c5671bf6c26ad.tar.zst Shaarli-fc66e61ca9c5e03704036f844a3c5671bf6c26ad.zip |
Merge pull request #1364 from ArthurHoaro/hotfix/md-rss-permalink
Fix RSS permalink included in Markdown bloc
Diffstat (limited to 'application')
-rw-r--r-- | application/feed/FeedBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
157 | $permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>'; | 157 | $permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>'; |
158 | } | 158 | } |
159 | $link['description'] = format_description($link['description'], $pageaddr); | 159 | $link['description'] = format_description($link['description'], $pageaddr); |
160 | $link['description'] .= PHP_EOL . '<br>— ' . $permalink; | 160 | $link['description'] .= PHP_EOL . PHP_EOL . '<br>— ' . $permalink; |
161 | 161 | ||
162 | $pubDate = $link['created']; | 162 | $pubDate = $link['created']; |
163 | $link['pub_iso_date'] = $this->getIsoDate($pubDate); | 163 | $link['pub_iso_date'] = $this->getIsoDate($pubDate); |