From 34f5872e343994c8686f3c7c70f930de2dd2f432 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 8 May 2018 23:44:09 +0200 Subject: "Sanitizing" incorrect namespaces on RSS proxy provider --- providers/Rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'providers') diff --git a/providers/Rss.php b/providers/Rss.php index d12bc98..f2fc015 100644 --- a/providers/Rss.php +++ b/providers/Rss.php @@ -37,7 +37,7 @@ class Rss extends \Providers\Provider { protected function _mapItems($content) { $items = []; foreach ($content as $contentString) { - $item = new \SimpleXMLElement(str_replace('content:encoded>', 'content>', $contentString)); + $item = new \SimpleXMLElement(str_replace(['content:encoded>', '', '<', 'ID = strval($item->id ?: $item->guid); $itemObject->Title = strval($item->title); -- cgit v1.2.3