From 87b3aaa550ca0ccd7e494327283ef0dd97ff744f Mon Sep 17 00:00:00 2001 From: Niehztog Date: Thu, 14 Oct 2021 11:18:00 +0200 Subject: [PATCH] [XPathAbstract] Fix encoding of feed output (#2297) --- lib/XPathAbstract.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/XPathAbstract.php b/lib/XPathAbstract.php index e08f48d1..540b98af 100644 --- a/lib/XPathAbstract.php +++ b/lib/XPathAbstract.php @@ -428,9 +428,9 @@ abstract class XPathAbstract extends BridgeAbstract { case 'timestamp': return $this->formatItemTimestamp($value); case 'enclosures': - return array($this->cleanImageUrl($value)); + return $this->formatItemEnclosures($value); case 'categories': - return array($this->fixEncoding($value)); + return $this->formatItemCategories($value); } return $value; }