MDL-25901 rss: do not copyright html tag
authorDan Poltawski <dan@moodle.com>
Thu, 6 Jun 2013 03:21:19 +0000 (11:21 +0800)
committerDan Poltawski <dan@moodle.com>
Thu, 6 Jun 2013 03:21:19 +0000 (11:21 +0800)
They copyright field does not permit html, it should be plain text

lib/rsslib.php

index 6046e66..17157bb 100644 (file)
@@ -269,7 +269,7 @@ function rss_standard_header($title = NULL, $link = NULL, $description = NULL) {
             $result .= rss_full_tag('language', 2, false, substr($USER->lang,0,2));
         }
         $today = getdate();
-        $result .= rss_full_tag('copyright', 2, false, '&#169; '. $today['year'] .' '. format_string($site->fullname));
+        $result .= rss_full_tag('copyright', 2, false, '(c) '. $today['year'] .' '. format_string($site->fullname));
         /*
        if (!empty($USER->email)) {
             $result .= rss_full_tag('managingEditor', 2, false, fullname($USER));