Fixed url rebase with theming
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
51cc76b80d
commit
fa95733b0d
|
@ -282,7 +282,7 @@ class SCSSCacher {
|
|||
*/
|
||||
private function rebaseUrls($css, $webDir) {
|
||||
$re = '/url\([\'"]([\.\w?=\/-]*)[\'"]\)/x';
|
||||
$subst = 'url(\''.$webDir.'/$1\')';
|
||||
$subst = 'url('.$webDir.'/$1)';
|
||||
return preg_replace($re, $subst, $css);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue