From: Andrew Dolgov Date: Fri, 19 Apr 2013 08:35:30 +0000 (+0400) Subject: trim received feed data on fetch X-Git-Tag: 1.7.9~25^2~126 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1367bc3f5e0f99f5b900bcd3ea9e7512b7c84388;p=tt-rss.git trim received feed data on fetch --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 8ffcbde8..31d35bf8 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -310,6 +310,8 @@ if ($tmp) $feed_data = $tmp; } + $feed_data = trim($feed_data); + if ($debug_enabled) { _debug("update_rss_feed: fetch done."); }