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:
hannes 2016-01-26 01:10:15 +00:00
parent 473f893d04
commit 884aeb4d2e

View File

@ -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;
}