MDL-21356 rsslib: Schema address from tag output in wasn't escaped (problem only if it contains &)

This commit is contained in:
Sam Marshall
2010-01-15 14:36:11 +00:00
parent 8e8f9f3d6f
commit 5a84cc7048
+1 -1
View File
@@ -254,7 +254,7 @@ function rss_add_items($items) {
if (isset($item->tags)) {
$attributes = array();
if (isset($item->tagscheme)) {
$attributes['domain'] = $item->tagscheme;
$attributes['domain'] = s($item->tagscheme);
}
foreach ($item->tags as $tag) {
$result .= rss_full_tag('category', 3, false, $tag, $attributes);