common_purify() doesn't remove wordpress' and facebook's javascript properly, maybe better to keep the data intact, and do strip_tags or something similar when using the data
This commit is contained in:
parent
473f893d04
commit
884aeb4d2e
|
@ -161,11 +161,6 @@ class oEmbedHelper
|
|||
|
||||
$oembed_data = HTTPClient::quickGetJson($api, $params);
|
||||
|
||||
// purify html
|
||||
if(isset($oembed_data->html)) {
|
||||
$oembed_data->html = common_purify($oembed_data->html);
|
||||
}
|
||||
|
||||
return $oembed_data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user