better cleaning of rss feeds SC#328; merged from MOODLE_17_STABLE

This commit is contained in:
skodak 2006-10-24 22:40:07 +00:00
parent d53ca6ad40
commit 45155244af

View File

@ -130,7 +130,7 @@
$numids = count($rssidarray);
$count = 0;
foreach ($rssidarray as $rssid) {
$output .= $this->get_rss_by_id($rssid, $display_description, $shownumentries, ($numids > 1) ? true : false);
$output .= clean_text($this->get_rss_by_id($rssid, $display_description, $shownumentries, ($numids > 1) ? true : false), FORMAT_HTML);
if ($numids > 1 && $count != $numids -1 && !empty($rssfeedstring)) {
$output .= '<hr width="80%" />';
}