mirror of
https://github.com/friendica/friendica
synced 2025-04-23 13:50:11 +00: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