Skip to content

Commit 87f62ce

Browse files
skjnldsvrullzer
authored andcommitted
Fix icons cacher regex for compressed output
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 12a2a75 commit 87f62ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Template/IconsCacher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class IconsCacher {
4747
protected $urlGenerator;
4848

4949
/** @var string */
50-
private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+): url\(["\']([a-zA-Z0-9-_\~\/\.\?\=]+)[^;]+;/m';
50+
private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+):\s?url\(["\']([a-zA-Z0-9-_\~\/\.\?\=]+)[^;]+;/m';
5151

5252
/** @var string */
5353
private $fileName = 'icons-vars.css';

0 commit comments

Comments
 (0)