Closed jgarber closed 14 years ago
Awesome, thanks for that.
Suggestion: buffer = File.new(file,'r').read.gsub(REGEX_ROOT_RELATIVE_CSS_URL, "url(\1#{ENV['RAILS_ASSET_ID']}\2\1)")
I need to add some test cases for this.
Oops, I think I missed a '/' root: "url(\1/#{ENV['RAILS_ASSET_ID']}\2\1)"
Pulled
Rewrites url references with quotes like:
background: url(/REV_20100415043157'/images/app/fancybox/fancy_closebox.png')
(example from jQuery Fancybox)I'm working on a fix and will send you a pull request. Thanks.