lib/scss_lint/linter/url_quotes.rb in scss-lint-0.28.0 vs lib/scss_lint/linter/url_quotes.rb in scss-lint-0.29.0
- old
+ new
@@ -17,9 +17,11 @@
private
def check(node, string)
return unless string =~ /^\s*url\(\s*[^"']/
+ return if string =~ /^\s*url\(\s*data:/ # Ignore data URIs
+
add_lint(node, 'URLs should be enclosed in quotes')
end
end
end