juicer 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/juicer.rb +1 -1
- data/lib/juicer/merger/stylesheet_merger.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.21
|
data/lib/juicer.rb
CHANGED
@@ -59,7 +59,7 @@ module Juicer
|
|
59
59
|
content.scan(/url\([\s"']*([^\)"'\s]*)[\s"']*\)/m).uniq.collect do |url|
|
60
60
|
url = url.first
|
61
61
|
path = resolve_path(url, dir)
|
62
|
-
content.gsub!(/\([\s"']*#{url}[\s"']*\)/m, "(#{path})") unless path == url
|
62
|
+
content.gsub!(/\([\s"']*#{Regexp.escape(url)}[\s"']*\)/m, "(#{path})") unless path == url
|
63
63
|
end
|
64
64
|
|
65
65
|
content
|