diff --git a/modules/Rss/Rss.php b/modules/Rss/Rss.php
index adca0ebd40..5c1dcaaf59 100644
--- a/modules/Rss/Rss.php
+++ b/modules/Rss/Rss.php
@@ -60,8 +60,13 @@ public function getListViewRSSHtml() {
$rss_title= ltrim(rtrim($stringConvert));
$i = $i + 1;
$shtml .= "
";
- $shtml .= "get_permalink()."','feedlist_".$i."')\"; id='feedlist_".$i."' class=\"rssNews\">";
- $shtml .= $rss_title." | ".$this->rss_title." |
";
+ $cleanJS = vtlib_purify('');
+ if (strlen($cleanJS)>10) {
+ $cleanJS = substr(vtlib_purify($cleanJS), 9); // strip a href
+ $cleanJS = substr($cleanJS, 0, strlen($cleanJS)-6); // strip
+ }
+ $shtml .= " | ".vtlib_purify($this->rss_title)." | ";
if ($i == 10) {
return $shtml;
}