Skip to content

Commit

Permalink
Merge pull request #11291 from nextcloud/stable14-fix-icons-cacher
Browse files Browse the repository at this point in the history
[stable14] Fix icons cacher regex for compressed output
blizzz authored Sep 19, 2018
2 parents c02c63f + e2991d5 commit 8dff946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Template/IconsCacher.php
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ class IconsCacher {
protected $urlGenerator;

/** @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 */
private $fileName = 'icons-vars.css';

0 comments on commit 8dff946

Please sign in to comment.