1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +02:00

[XPathAbstract] Fix encoding of feed output (#2297)

This commit is contained in:
Niehztog
2021-10-14 11:18:00 +02:00
committed by GitHub
parent c445ba6ebb
commit 87b3aaa550

View File

@@ -428,9 +428,9 @@ abstract class XPathAbstract extends BridgeAbstract {
case 'timestamp': case 'timestamp':
return $this->formatItemTimestamp($value); return $this->formatItemTimestamp($value);
case 'enclosures': case 'enclosures':
return array($this->cleanImageUrl($value)); return $this->formatItemEnclosures($value);
case 'categories': case 'categories':
return array($this->fixEncoding($value)); return $this->formatItemCategories($value);
} }
return $value; return $value;
} }