diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2016-10-20 21:37:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 21:37:28 +0200 |
commit | 954dc2446caade6ccad3ffd1173ef139c1f36ad3 (patch) | |
tree | ed335a59a71a8561aef8952133e9904d8064125e /application/FeedBuilder.php | |
parent | fb6c8f770a07e38d5250ca4d6717445002e7bfb3 (diff) | |
parent | fbc28ff1c892460e90e87a1be6dd3e28a4cd58b8 (diff) | |
download | Shaarli-954dc2446caade6ccad3ffd1173ef139c1f36ad3.tar.gz Shaarli-954dc2446caade6ccad3ffd1173ef139c1f36ad3.tar.zst Shaarli-954dc2446caade6ccad3ffd1173ef139c1f36ad3.zip |
Merge pull request #665 from ArthurHoaro/fix/feed-hashtags
Fix hashtag links in Feeds
Diffstat (limited to 'application/FeedBuilder.php')
-rw-r--r-- | application/FeedBuilder.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/FeedBuilder.php b/application/FeedBuilder.php index c6657fbb..4036a7cc 100644 --- a/application/FeedBuilder.php +++ b/application/FeedBuilder.php | |||
@@ -153,7 +153,8 @@ class FeedBuilder | |||
153 | } else { | 153 | } else { |
154 | $permalink = '<a href="'. $link['guid'] .'" title="Permalink">Permalink</a>'; | 154 | $permalink = '<a href="'. $link['guid'] .'" title="Permalink">Permalink</a>'; |
155 | } | 155 | } |
156 | $link['description'] = format_description($link['description']) . PHP_EOL .'<br>— '. $permalink; | 156 | $link['description'] = format_description($link['description'], '', $pageaddr); |
157 | $link['description'] .= PHP_EOL .'<br>— '. $permalink; | ||
157 | 158 | ||
158 | $pubDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $link['linkdate']); | 159 | $pubDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $link['linkdate']); |
159 | $link['pub_iso_date'] = $this->getIsoDate($pubDate); | 160 | $link['pub_iso_date'] = $this->getIsoDate($pubDate); |