use absolute namespace in case this gets moved

This commit is contained in:
zotlabs 2016-12-13 20:05:36 -08:00
parent 0394a3e939
commit cbffd32d8e

View File

@ -3080,7 +3080,7 @@ function cleanup_bbcode($body) {
$body = preg_replace_callback("/([^\]\='".'"'."\/]|^|\#\^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\\
+\,\(\)]+)/ism", 'nakedoembed', $body);
+\,\(\)]+)/ism", '\nakedoembed', $body);
$body = preg_replace_callback("/([^\]\='".'"'."\/]|^|\#\^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\\
+\,\(\)]+)/ism", '\red_zrl_callback', $body);