aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-13 20:05:36 -0800
committerzotlabs <mike@macgirvin.com>2016-12-13 20:05:36 -0800
commitcbffd32d8ea14d38da65b646c205dc6518eeb7e0 (patch)
tree2b07db5f3c8c60b0edfee3bcd788286fa54bbe94
parent0394a3e93957b5bb6574ca95e290e414ed049404 (diff)
downloadvolse-hubzilla-cbffd32d8ea14d38da65b646c205dc6518eeb7e0.tar.gz
volse-hubzilla-cbffd32d8ea14d38da65b646c205dc6518eeb7e0.tar.bz2
volse-hubzilla-cbffd32d8ea14d38da65b646c205dc6518eeb7e0.zip
use absolute namespace in case this gets moved
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
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);