mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Merge remote branch 'upstream/master'
This commit is contained in:
commit
c8f99a8a66
10 changed files with 1155 additions and 891 deletions
|
@ -404,6 +404,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
|||
|
||||
// fix any escaped ampersands that may have been converted into links
|
||||
$Text = preg_replace("/\<(.*?)(src|href)=(.*?)\&\;(.*?)\>/ism",'<$1$2=$3&$4>',$Text);
|
||||
$Text = preg_replace("/\<(.*?)(src|href)=\"[^hfm](.*?)\>/ism",'<$1$2="">',$Text);
|
||||
|
||||
if($saved_image)
|
||||
$Text = bb_replace_images($Text, $saved_image);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue