]> git.wh0rd.org Git - tt-rss.git/commitdiff
trim received feed data on fetch
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Apr 2013 08:35:30 +0000 (12:35 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Apr 2013 08:35:30 +0000 (12:35 +0400)
include/rssfuncs.php

index 8ffcbde8a7ce0132377dafb6cee8d0cf9ae17804..31d35bf8eeaf116b89e3f99c8b2bba41e45b3c11 100644 (file)
                                        if ($tmp) $feed_data = $tmp;
                                }
 
+                               $feed_data = trim($feed_data);
+
                                if ($debug_enabled) {
                                        _debug("update_rss_feed: fetch done.");
                                }