Skip to content
Snippets Groups Projects
Commit b99f81ed authored by Philipp Steinkopff's avatar Philipp Steinkopff
Browse files

removing quotes from regex to restore media provisioning feature

parent 3ff3ea2d
Branches
Tags 1.4.1
No related merge requests found
......@@ -15,7 +15,7 @@ class MediaDirectiveFileParser implements MediaFilesParserInterface
*/
public function execute(string $content): array
{
if (preg_match_all('/\{\{media url=\&quot\;(?P<path>.*?)\&quot\;\}\}/', $content, $matches)) {
if (preg_match_all('/\{\{media url=(?P<path>.*?)\}\}/', $content, $matches)) {
return $matches['path'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment