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:48 +00:00
parent 4f1216af39
commit 8ec0c7b0da
+1 -1
View File
@@ -216,7 +216,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);