aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-08 19:10:08 -0700
committerzotlabs <mike@macgirvin.com>2017-05-08 19:10:08 -0700
commite059efb4c47dec32524ee2ff61d5cd9e7ad0cb84 (patch)
tree724c684b862a11e580a82a2fee3046a8625f913e /include/bbcode.php
parent2e531c103f33e798d979bd9dcda168cc6cb5d3e0 (diff)
downloadvolse-hubzilla-e059efb4c47dec32524ee2ff61d5cd9e7ad0cb84.tar.gz
volse-hubzilla-e059efb4c47dec32524ee2ff61d5cd9e7ad0cb84.tar.bz2
volse-hubzilla-e059efb4c47dec32524ee2ff61d5cd9e7ad0cb84.zip
handle mastodon urls in markdown/bbcode conversion
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 6a14b665f..e0a19c8f0 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -776,7 +776,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
// Perform URL Search
- $urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,\@\(\)]';
+ $urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,\@\(\)]';
if (strpos($Text,'http') !== false) {
if($tryoembed) {