lib/grim/image_magick_processor.rb in grim-1.3.2 vs lib/grim/image_magick_processor.rb in grim-1.3.3
- old
+ new
@@ -57,10 +57,10 @@
command << "-quality #{quality}"
command << "-colorspace #{colorspace}" unless colorspace.nil?
command << "-interlace none"
command << "-density #{density}"
command << "#{Shellwords.shellescape(pdf.path)}[#{index}]"
- command << path
+ command << Shellwords.shellescape(path)
command
end
end
end