diff --git a/lib/FeedExpander.php b/lib/FeedExpander.php index ff20949..5dbb0bb 100644 --- a/lib/FeedExpander.php +++ b/lib/FeedExpander.php @@ -18,7 +18,7 @@ abstract class FeedExpander extends BridgeAbstract { */ $content = getContents($url) or returnServerError('Could not request ' . $url); - $rssContent = simplexml_load_string($content); + $rssContent = simplexml_load_string(trim($content)); debugMessage('Detecting feed format/version'); switch(true) {