From 9c27f202900c5b49380ede001cb753b1c02b5a02 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 16 Jun 2015 01:09:27 -0700 Subject: [PATCH] Fix for xml class being unable to parse media: and opensearch: xml tags. --- e107_handlers/xml_class.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 2dc717e3d..39a89782e 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -578,8 +578,16 @@ class xmlClass { return FALSE; } - - $xmlData = str_replace('content:encoded', 'content_encoded', $xmlData); + + $extendedTypes = array( + 'content:encoded' => 'content_encoded', + ' ' ' ' '