From b6b90beb8415343c8b12b2989662e1884a97eacd Mon Sep 17 00:00:00 2001 From: Vova Yatsyuk Date: Fri, 11 Oct 2019 17:05:55 +0300 Subject: [PATCH] Work properly when content is minified. --- Plugin/PageConfigRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/PageConfigRenderer.php b/Plugin/PageConfigRenderer.php index 4f026eb..0a2b437 100644 --- a/Plugin/PageConfigRenderer.php +++ b/Plugin/PageConfigRenderer.php @@ -23,7 +23,7 @@ public function afterRenderAssets( return $result; } - preg_match_all('//', $result, $links); + preg_match_all('//U', $result, $links); foreach ($links[0] as $link) { if (strpos($link, '.woff') === false ||