We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0697457 + f0f7747 commit a61a949Copy full SHA for a61a949
tasks/css-url-embed.js
@@ -1,5 +1,5 @@
1
module.exports = function(grunt) {
2
- var BASE_URL_REGEX = 'url\\(["\']?([^"\'\\(\\)]+?)["\']?\\)[};,!\\s]';
+ var BASE_URL_REGEX = 'url\\(\\s*["\']?([^"\'\\(\\)]+?)["\']?\\s*\\)[};,!\\s]';
3
var EXCLUSIVE_URL_REGEX = BASE_URL_REGEX + '(?!\\s*?\\/\\*\\s*?noembed\\s*?\\*\\/)';
4
var INCLUSIVE_URL_REGEX = BASE_URL_REGEX + '\\s*?\\/\\*\\s*?embed\\s*?\\*\\/';
5
var EMBEDDABLE_URL_REGEX = /^data:/;
0 commit comments