]> git.mjollnir.org Git - moodle.git/commitdiff
Strip tags from final RSS feed name
authormoodler <moodler>
Wed, 12 Apr 2006 08:58:20 +0000 (08:58 +0000)
committermoodler <moodler>
Wed, 12 Apr 2006 08:58:20 +0000 (08:58 +0000)
mod/forum/rsslib.php

index 7d8de62cefbd1e5a34445d9f54c353e54210ab00..7a0c4703fa695c14f32aa4c9b3cfdf4fda7f9d12 100644 (file)
                 //Now, if items, we begin building the structure
                 if (!empty($items)) {
                     //First all rss feeds common headers
-                    $header = rss_standard_header(format_string($forum->name,true),
+                    $header = rss_standard_header(strip_tags(format_string($forum->name,true)),
                                                   $CFG->wwwroot."/mod/forum/view.php?f=".$forum->id,
                                                   format_string($forum->intro,true));
                     //Now all the rss items