aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-08 19:10:08 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-10 14:50:06 +0200
commit660ea89521646251fc3a547cee7c38341dcb5d8f (patch)
treef84ca7a4cc5dfa658e23fe8b82167ba8e453b8e6 /include/bbcode.php
parent8a129610da14577c8dc54d878bb8b644caf918ec (diff)
downloadvolse-hubzilla-660ea89521646251fc3a547cee7c38341dcb5d8f.tar.gz
volse-hubzilla-660ea89521646251fc3a547cee7c38341dcb5d8f.tar.bz2
volse-hubzilla-660ea89521646251fc3a547cee7c38341dcb5d8f.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 c0033f280..2f15cefe1 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) {