1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 05:40:24 +02:00
* Ouch, sorry.

* fix indentation.
This commit is contained in:
Marcus Rohrmoser
2016-11-08 22:44:54 +01:00
committed by Teromene
parent 51e9298a2b
commit af572341b3
2 changed files with 6 additions and 6 deletions

View File

@@ -30,9 +30,9 @@ class MrssFormat extends FormatAbstract {
$itemUri = isset($item['uri']) ? $this->xml_encode($item['uri']) : '';
$itemTimestamp = isset($item['timestamp']) ? $this->xml_encode(date(DATE_RFC2822, $item['timestamp'])) : '';
$itemContent = isset($item['content']) ? $this->xml_encode($this->sanitizeHtml($item['content'])) : '';
$entryEnclosures = "";
foreach($item['enclosures'] as $enclosure)
$entryEnclosures .= "<enclosure url=\"".xml_encode($enclosure)."\"/>";
$entryEnclosures = "";
foreach($item['enclosures'] as $enclosure)
$entryEnclosures .= "<enclosure url=\"".$this->xml_encode($enclosure)."\"/>";
$items .= <<<EOD
<item>