mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Force result to string in MediaFilter::removeEmbeddedMedia()
This commit is contained in:
parent
1a8b84e75b
commit
9ca263ebf5
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ class MediaFilter
|
||||||
$input = preg_replace('!<object[^>]*>(.*?</object>)?!is', $replacement, $input);
|
$input = preg_replace('!<object[^>]*>(.*?</object>)?!is', $replacement, $input);
|
||||||
$input = preg_replace('!<embed[^>]*>(.*?</embed>)?!is', $replacement, $input);
|
$input = preg_replace('!<embed[^>]*>(.*?</embed>)?!is', $replacement, $input);
|
||||||
$input = preg_replace('!<img[^>]*editor_component="multimedia_link"[^>]*>(.*?</img>)?!is', $replacement, $input);
|
$input = preg_replace('!<img[^>]*editor_component="multimedia_link"[^>]*>(.*?</img>)?!is', $replacement, $input);
|
||||||
return $input;
|
return (string)$input;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue