Fix icons cacher regex for compressed output

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-08-25 00:32:54 +02:00 committed by Daniel Calviño Sánchez
parent b75dde0c9a
commit 3095ec4125
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class IconsCacher {
protected $urlGenerator; protected $urlGenerator;
/** @var string */ /** @var string */
private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+): url\(["\']([a-zA-Z0-9-_\~\/\.\?\=]+)[^;]+;/m'; private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+):\s?url\(["\']([a-zA-Z0-9-_\~\/\.\?\=]+)[^;]+;/m';
/** @var string */ /** @var string */
private $fileName = 'icons-vars.css'; private $fileName = 'icons-vars.css';