Revert rebaseurl function edit

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-01-05 08:35:38 +01:00
parent 7a282dee89
commit b95d18b85e
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}