From: Christian Aistleitner Date: Mon, 9 Jun 2014 10:48:24 +0000 (+0200) Subject: ResourceLoaderLESSFunctions: Quote CSS data: URIs if needed X-Git-Tag: 1.31.0-rc.0~15431^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=01f2920e849329a572bc1b309206a2ec8e1b8fa1;p=lhc%2Fweb%2Fwiklou.git ResourceLoaderLESSFunctions: Quote CSS data: URIs if needed Change-Id: I121cf6b410b17f2b8b880cb3b5cb786f5eeb23b6 --- diff --git a/includes/resourceloader/ResourceLoaderLESSFunctions.php b/includes/resourceloader/ResourceLoaderLESSFunctions.php index e016a3308c..eb1461f36f 100644 --- a/includes/resourceloader/ResourceLoaderLESSFunctions.php +++ b/includes/resourceloader/ResourceLoaderLESSFunctions.php @@ -62,6 +62,6 @@ class ResourceLoaderLESSFunctions { $data = CSSMin::encodeImageAsDataURI( $file ); $less->addParsedFile( $file ); - return 'url(' . $data . ')'; + return CSSMin::buildUrlValue( $data ); } }