Skip to content

Commit

Permalink
MDL-25901 rss: do not copyright html tag
Browse files Browse the repository at this point in the history
They copyright field does not permit html, it should be plain text
  • Loading branch information
danpoltawski committed Jun 6, 2013
1 parent f36066f commit 0fbfae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rsslib.php
Expand Up @@ -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, '© '. $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));
Expand Down

0 comments on commit 0fbfae7

Please sign in to comment.