diff --git a/bl-plugins/rss/plugin.php b/bl-plugins/rss/plugin.php index c53e3dcc..e0b8b1a4 100644 --- a/bl-plugins/rss/plugin.php +++ b/bl-plugins/rss/plugin.php @@ -75,8 +75,10 @@ class pluginRSS extends Plugin { $xml .= ''; $xml .= ''.$page->title().''; $xml .= ''.$this->encodeURL($page->permalink()).''; - $xml .= ''.$page->coverImage(true).''; - $xml .= ''.Sanitize::html($page->contentBreak()).''; + $imagepath = parse_url($page->coverImage(true), PHP_URL_PATH); + $imagepath = $_SERVER['DOCUMENT_ROOT'] . $imagepath; + $xml .= ''; + $xml .= ''. strip_tags( $page->contentBreak() ) .''; $xml .= ''.date(DATE_RSS,strtotime($page->getValue('dateRaw'))).''; $xml .= ''.$page->uuid().''; $xml .= '';