MDL-21356 rsslib: Schema address from tag output in wasn't escaped (problem only if it contains &)
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user