From cbffd32d8ea14d38da65b646c205dc6518eeb7e0 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 13 Dec 2016 20:05:36 -0800 Subject: use absolute namespace in case this gets moved --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/text.php b/include/text.php index e014024c2..593822bc7 100644 --- a/include/text.php +++ b/include/text.php @@ -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); -- cgit v1.2.3