diff options
author | Friendika <info@friendika.com> | 2011-10-25 19:59:57 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-25 19:59:57 -0700 |
commit | 72d74b88be0e9a25920d336c7eab0aeb09342f63 (patch) | |
tree | 63df86c2a68f67eb56e1e15510731f435b5312ed /include/bbcode.php | |
parent | 1aa1cd2cf5c5f7b7dd21bc3c67becfdfc7d41974 (diff) | |
download | volse-hubzilla-72d74b88be0e9a25920d336c7eab0aeb09342f63.tar.gz volse-hubzilla-72d74b88be0e9a25920d336c7eab0aeb09342f63.tar.bz2 volse-hubzilla-72d74b88be0e9a25920d336c7eab0aeb09342f63.zip |
some dspr fixes
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index e20b2478d..a60d09ce8 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -57,6 +57,7 @@ function bbcode($Text,$preserve_nl = false) { // Perform URL Search + $Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)/ism", '$1<a href="$2" target="external-link">$2</a>', $Text); $Text = preg_replace_callback("/\[bookmark\=([^\]]*)\].*?\[\/bookmark\]/ism",'tryoembed',$Text); |