mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-13 02:47:41 -04:00
Fix link encoding in API (#1686)
https://github.com/FreshRSS/FreshRSS/issues/1683 https://github.com/Alkarex/EasyRSS/issues/35
This commit is contained in:
committed by
GitHub
parent
db44b48507
commit
07fa243bf2
@@ -2,6 +2,8 @@
|
||||
|
||||
## 2017-1X-XX FreshRSS 1.8.1-dev
|
||||
|
||||
* API
|
||||
* Breaking change / compatibility fix (EasyRSS): Provide `link` to articles without HTML-encoding [#1683](https://github.com/FreshRSS/FreshRSS/issues/1683)
|
||||
* Features
|
||||
* Share with Mastodon [#1521](https://github.com/FreshRSS/FreshRSS/issues/1521)
|
||||
* UI
|
||||
|
||||
@@ -517,7 +517,7 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex
|
||||
'title' => $entry->title(),
|
||||
'summary' => array('content' => $entry->content()),
|
||||
'alternate' => array(
|
||||
array('href' => $entry->link()),
|
||||
array('href' => htmlspecialchars_decode($entry->link(), ENT_QUOTES)),
|
||||
),
|
||||
'categories' => array(
|
||||
'user/-/state/com.google/reading-list',
|
||||
|
||||
Reference in New Issue
Block a user