lib/juicer/merger/stylesheet_merger.rb in psyho_juicer-1.0.7 vs lib/juicer/merger/stylesheet_merger.rb in psyho_juicer-1.0.9
- old
+ new
@@ -67,9 +67,10 @@
#
# Resolves a path relative to a directory
#
def resolve_path(url, dir)
+ return url if url =~ /^data:/
path = url
# Absolute URLs
if url =~ %r{^/} && @use_relative
raise ArgumentError.new("Unable to handle absolute URLs without :document_root option") if !@document_root