Some RSS readers seems to have problems with that wrong p tag.

Merged from MOODLE_15_STABLE
This commit is contained in:
stronk7
2005-09-07 17:07:52 +00:00
parent 3809825467
commit 324d97ca65
+1 -1
View File
@@ -217,7 +217,7 @@ function rss_add_items($items) {
//We put it in the description instead because it's more important
//for moodle than most other feeds, and most rss software seems to ignore
//the author field ...
$item->description = get_string('byname','',$item->author).'. &nbsp;<p>'.$item->description.'</p>';
$item->description = get_string('byname','',$item->author).'. &nbsp;<p />'.$item->description.'</p>';
}
$result .= rss_full_tag('description',3,false,$item->description);
$result .= rss_end_tag('item',2,true);