From 01f2920e849329a572bc1b309206a2ec8e1b8fa1 Mon Sep 17 00:00:00 2001 From: Christian Aistleitner Date: Mon, 9 Jun 2014 12:48:24 +0200 Subject: [PATCH] ResourceLoaderLESSFunctions: Quote CSS data: URIs if needed Change-Id: I121cf6b410b17f2b8b880cb3b5cb786f5eeb23b6 --- includes/resourceloader/ResourceLoaderLESSFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.20.1