aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mail_handler/backends/mail_backend.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-11 16:07:17 +0100
committerLouise Crow <louise.crow@gmail.com>2015-06-04 12:12:22 +0100
commit998b23aac1efbc246376242bbf06aec1ac865bec (patch)
tree9e5188e5ec4728a0e8dbdc76d8bdf1faabf28584 /lib/mail_handler/backends/mail_backend.rb
parent87f0630a216b8be1cf1e3905580892fe038b9965 (diff)
Use a relative path in call to pdftohtml.
pdftohtml will use the file path as the basis for generating the image links in the generated HTML, so we want them to be relative, not absolute. Ruby 1.9 tempfile.path will generate an absolute path when given the current directory as the tmpdir, whilst 2.0 and 1.8 will use a relative one.
Diffstat (limited to 'lib/mail_handler/backends/mail_backend.rb')
0 files changed, 0 insertions, 0 deletions