Browse Source

Merge pull request #1648 from tobiasd/20150603

uncomment replacement
pull/1658/head
fabrixxm 6 years ago
parent
commit
a32147f722
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/bbcode.php

+ 1
- 1
include/bbcode.php View File

@ -1200,7 +1200,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal
// 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)=\"(?!http|ftp|mailto|cid)(.*?)\>/ism",'<$1$2="">',$Text);
$Text = preg_replace("/\<([^>]*?)(src|href)=\"(?!http|ftp|mailto|cid)(.*?)\>/ism",'<$1$2="">',$Text);
if($saved_image)
$Text = bb_replace_images($Text, $saved_image);


Loading…
Cancel
Save