Merge pull request #10847 from nextcloud/fix-icons-cacher
Fix icons cacher regex for compressed output
This commit is contained in:
commit
12977a257d
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue