Merge branch 'master' of https://github.com/friendica/friendica into threaded_items
This commit is contained in:
commit
786e9064f2
5 changed files with 11 additions and 4 deletions
|
|
@ -578,6 +578,7 @@ function get_atom_elements($feed,$item) {
|
|||
$res['body'] = escape_tags($res['body']);
|
||||
}
|
||||
|
||||
|
||||
// this tag is obsolete but we keep it for really old sites
|
||||
|
||||
$allow = $item->get_item_tags(NAMESPACE_DFRN,'comment-allow');
|
||||
|
|
@ -3328,7 +3329,6 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) {
|
|||
else
|
||||
$body = $item['body'];
|
||||
|
||||
|
||||
$o = "\r\n\r\n<entry>\r\n";
|
||||
|
||||
if(is_array($author))
|
||||
|
|
|
|||
|
|
@ -854,6 +854,10 @@ function scale_external_images($s, $include_link = true, $scale_replace = false)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// replace the special char encoding
|
||||
|
||||
$s = htmlspecialchars($s,ENT_QUOTES,'UTF-8');
|
||||
return $s;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue