put back notags

This commit is contained in:
friendica 2012-08-03 18:36:45 -07:00
parent bceae7b4c0
commit 0c67649c08

View file

@ -533,7 +533,7 @@ function get_atom_elements($feed,$item) {
$res['body'] = $rawenv[0]['data']; $res['body'] = $rawenv[0]['data'];
$res['body'] = str_replace(array(' ',"\t","\r","\n"), array('','','',''),$res['body']); $res['body'] = str_replace(array(' ',"\t","\r","\n"), array('','','',''),$res['body']);
// make sure nobody is trying to sneak some html tags by us // make sure nobody is trying to sneak some html tags by us
$res['body'] = htmlspecialchars(base64url_decode($res['body']),ENT_QUOTES,'UTF-8'); $res['body'] = notags(base64url_decode($res['body']));
} }