diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-25 00:32:54 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-19 13:06:04 +0200 |
commit | 3095ec4125d70fe3739240add56a7cb74713bdb0 (patch) | |
tree | 6da5e9251bd0b5537986965c0bcd18720e4491eb | |
parent | b75dde0c9a218f6154158d7fe54fd38d774a1970 (diff) | |
download | nextcloud-server-3095ec4125d70fe3739240add56a7cb74713bdb0.tar.gz nextcloud-server-3095ec4125d70fe3739240add56a7cb74713bdb0.zip |
Fix icons cacher regex for compressed output
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | lib/private/Template/IconsCacher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/IconsCacher.php b/lib/private/Template/IconsCacher.php index 070c7c3da51..f3660442dc5 100644 --- a/lib/private/Template/IconsCacher.php +++ b/lib/private/Template/IconsCacher.php @@ -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'; |