diff options
author | friendica <info@friendica.com> | 2014-02-08 11:53:47 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-08 11:53:47 -0800 |
commit | 92dea7888b40fde2774b79825530d6763ec133ed (patch) | |
tree | ebad71b027eea355363c83a4f674077c1fe98d30 /mod | |
parent | 97739920ebfa0d7b0db95c61187d5820c0939f14 (diff) | |
download | volse-hubzilla-92dea7888b40fde2774b79825530d6763ec133ed.tar.gz volse-hubzilla-92dea7888b40fde2774b79825530d6763ec133ed.tar.bz2 volse-hubzilla-92dea7888b40fde2774b79825530d6763ec133ed.zip |
allow somebody to type #^{{naked link}}
-- auto-linkify it and create a bookmark tag.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index e8a58fe76..48ecdf1a1 100644 --- a/mod/item.php +++ b/mod/item.php @@ -431,7 +431,7 @@ function item_post(&$a) { $body = preg_replace('/\[([uz])rl(.*?)\](.*?)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)(.*?)\[\/([uz])rl\]/ism','[$1rl$2]$3"$4"$5[/$6rl]',$body); - $body = preg_replace_callback("/([^\^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)/ism", 'red_zrl_callback', $body); + $body = preg_replace_callback("/([^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)/ism", 'red_zrl_callback', $body); /** * |