mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Fixes last commit.
This commit is contained in:
@@ -4671,7 +4671,7 @@ class e_parser
|
||||
$tag = base64_decode($val['alt']);
|
||||
$repl = ($retainTags == true) ? '$1'.$tag.'$2' : $tag;
|
||||
// $text = preg_replace('/(<x-bbcode[^>]*>).*(<\/x-bbcode>)/i',$repl, $text);
|
||||
$text = preg_replace('/(<x-bbcode alt="'.$val['alt'].'">).*(<\/x-bbcode>)/i',$repl, $text);
|
||||
$text = preg_replace('/(<x-bbcode alt=(?:"|")'.$val['alt'].'(?:"|")>).*(<\/x-bbcode>)/i',$repl, $text);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user