Merge remote branch 'upstream/master'

This commit is contained in:
Michael Vogel 2012-07-18 21:03:57 +02:00
commit c8f99a8a66
10 changed files with 1155 additions and 891 deletions

View file

@ -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)=(.*?)\&amp\;(.*?)\>/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);