diff options
author | Andrew Dolgov <[email protected]> | 2013-04-19 12:35:30 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-19 12:35:30 +0400 |
commit | 1367bc3f5e0f99f5b900bcd3ea9e7512b7c84388 (patch) | |
tree | 40a623cd6484fde8cc97926469c984470eff9414 /include/rssfuncs.php | |
parent | 92c9a20cf51c55e9d866427786bc28b2d6ab48fd (diff) |
trim received feed data on fetch
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 8ffcbde8a..31d35bf8e 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."); } |