Merge branch 'g5'
This commit is contained in:
@ -2045,7 +2045,7 @@ function get_editor_image($contents, $view=true)
|
|||||||
if ($view)
|
if ($view)
|
||||||
$pattern = "/<img([^>]*)>/iS";
|
$pattern = "/<img([^>]*)>/iS";
|
||||||
else
|
else
|
||||||
$pattern = "/<img[^>]*src=[\'\"]?([^>\'\"]+[^>\'\"]+)[\'\"]?[^>]*>/";
|
$pattern = "/<img[^>]*src=[\'\"]?([^>\'\"]+[^>\'\"]+)[\'\"]?[^>]*>/i";
|
||||||
preg_match_all($pattern, $contents, $matchs);
|
preg_match_all($pattern, $contents, $matchs);
|
||||||
|
|
||||||
return $matchs;
|
return $matchs;
|
||||||
|
|||||||
Reference in New Issue
Block a user