From 1367bc3f5e0f99f5b900bcd3ea9e7512b7c84388 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Apr 2013 12:35:30 +0400 Subject: [PATCH] trim received feed data on fetch --- include/rssfuncs.php | 2 ++ 1 file changed, 2 insertions(+) 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."); } -- 2.39.5