diff --git a/formats/MrssFormat.php b/formats/MrssFormat.php index 72a829e7..7ea9756f 100644 --- a/formats/MrssFormat.php +++ b/formats/MrssFormat.php @@ -79,6 +79,8 @@ EOD; $charset = $this->getCharset(); + /* xml attributes need to have certain characters escaped to be w3c compliant */ + $imageTitle = htmlspecialchars($title, ENT_COMPAT); /* Data are prepared, now let's begin the "MAGIE !!!" */ $toReturn = << @@ -90,7 +92,7 @@ xmlns:atom="http://www.w3.org/2005/Atom"> {$title} http{$https}://{$httpHost}{$httpInfo}/ {$title} - + {$items}