Skip to content

Commit

Permalink
Merge pull request #10847 from nextcloud/fix-icons-cacher
Browse files Browse the repository at this point in the history
Fix icons cacher regex for compressed output
  • Loading branch information
nickvergessen authored Sep 19, 2018
2 parents d4b0238 + 3095ec4 commit 12977a2
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
Expand Up @@ -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';
Expand Down

0 comments on commit 12977a2

Please sign in to comment.