diff options
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index 9eaee4573..c617f13cb 100644 --- a/include/items.php +++ b/include/items.php @@ -1591,11 +1591,11 @@ function item_getfeedattach($item) { $matches = false; $cnt = preg_match('|\<a href=\"(.+?)\" size=\"(.+?)\" type=\"(.+?)\" >(.+?)</a>|',$r,$matches); if($cnt) { - $ret .= '<link rel="enclosure" href="' . $matches[1] . '" type="' . $matches[3] . '" '; + $ret .= '<link rel="enclosure" href="' . xmlify($matches[1]) . '" type="' . xmlify($matches[3]) . '" '; if(intval($matches[2])) $ret .= 'size="' . intval($matches[2]) . '" '; if($matches[4] !== ' ') - $ret .= 'title="' . $matches[4] . '" '; + $ret .= 'title="' . xmlify($matches[4]) . '" '; $ret .= ' />' . "\r\n"; } } |