Permalink
Browse files

Merge branch 'master' of https://github.com/amiel/showoff into amiel-…

…master

Conflicts:
	lib/showoff.rb
  • Loading branch information...
2 parents 9ef454b + 64454f2 commit 66162e2bae31e7e90c8b2aa41bb5aadc1933335e @goncalossilva goncalossilva committed Mar 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/showoff.rb
View
1 lib/showoff.rb
@@ -546,6 +546,7 @@ def self.do_static(what)
File.open(css_path) do |file|
data = file.read
data.scan(/url\([\"\']?(.*?)[\"\']?\)/).flatten.each do |path|
+ next if path.match('^http')
path.gsub!(/(\#.*)$/, '') # get rid of the anchor
path.gsub!(/(\?.*)$/, '') # get rid of the query
logger.debug path

0 comments on commit 66162e2

Please sign in to comment.