diff options
author | fox <[email protected]> | 2021-06-21 08:22:59 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-06-21 08:22:59 +0300 |
commit | cd26dbe64c9b14418f0b2d826a38a35c6bf8a270 (patch) | |
tree | 96c58b9d11b2853956cc1c0cf1eb3b480b37874b /classes | |
parent | 7bd9572aa1cc75f16088542f30c48188920796c6 (diff) | |
parent | 14d57d9a14b6b76aeb7a14f3978adf7b9d4fafb7 (diff) |
Merge pull request 'Rewrite feed entry link as href content' (#40) from klempin/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/40
Diffstat (limited to 'classes')
-rwxr-xr-x | classes/rssutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php index 216792a0e..87e52ba42 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -646,7 +646,7 @@ class RSSUtils { $entry_title = strip_tags($item->get_title()); - $entry_link = rewrite_relative_url($site_url, clean($item->get_link())); + $entry_link = UrlHelper::rewrite_relative($site_url, clean($item->get_link()), "a", "href"); $entry_language = mb_substr(trim($item->get_language()), 0, 2); |