Skip to content
Snippets Groups Projects
Commit 86e27aaf authored by Vadim Justus's avatar Vadim Justus
Browse files

Merge remote-tracking branch 'origin/develop' into TDMET-5-automated-testing

parents 2c8e1c1f b99f81ed
Branches
Tags
1 merge request!42TDMET-5 Introduce automated testing with TD internal CI system
Pipeline #28046 failed
...@@ -15,7 +15,7 @@ class MediaDirectiveFileParser implements MediaFilesParserInterface ...@@ -15,7 +15,7 @@ class MediaDirectiveFileParser implements MediaFilesParserInterface
*/ */
public function execute(string $content): array 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']; return $matches['path'];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment