mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 12:34:27 +02:00
some dspr fixes
This commit is contained in:
parent
1aa1cd2cf5
commit
72d74b88be
4 changed files with 12 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue