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
This commit is contained in:
fox 2021-06-21 08:22:59 +03:00
commit cd26dbe64c
1 changed files with 1 additions and 1 deletions

View File

@ -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);