parent
51e9298a2b
commit
af572341b3
2 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ class MrssFormat extends FormatAbstract {
|
||||||
$itemContent = isset($item['content']) ? $this->xml_encode($this->sanitizeHtml($item['content'])) : '';
|
$itemContent = isset($item['content']) ? $this->xml_encode($this->sanitizeHtml($item['content'])) : '';
|
||||||
$entryEnclosures = "";
|
$entryEnclosures = "";
|
||||||
foreach($item['enclosures'] as $enclosure)
|
foreach($item['enclosures'] as $enclosure)
|
||||||
$entryEnclosures .= "<enclosure url=\"".xml_encode($enclosure)."\"/>";
|
$entryEnclosures .= "<enclosure url=\"".$this->xml_encode($enclosure)."\"/>";
|
||||||
$items .= <<<EOD
|
$items .= <<<EOD
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Reference in a new issue