diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-02-13 13:44:26 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-02-13 13:44:26 +0000 |
commit | 8e7f3cf22b37d9fa89eb39b70a6b4eafff57383a (patch) | |
tree | 697651e3a5772911443ec218b8c86cb8d98586cf /lib | |
parent | f7d7d92e981431d9b068fb379c5d21b49c67f6c8 (diff) | |
parent | 3d3f7b268c652a0e948c069b21a704091496506b (diff) |
Merge branch 'hotfix/0.20.0.11'0.20.0.11
Diffstat (limited to 'lib')
-rw-r--r-- | lib/attachment_to_html/adapters/pdf.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/attachment_to_html/adapters/pdf.rb b/lib/attachment_to_html/adapters/pdf.rb index b91958c52..3183d1fd0 100644 --- a/lib/attachment_to_html/adapters/pdf.rb +++ b/lib/attachment_to_html/adapters/pdf.rb @@ -73,11 +73,10 @@ module AttachmentToHTML html = AlaveteliExternalCommand.run("pdftohtml", "-nodrm", "-zoom", "1.0", "-stdout", "-enc", "UTF-8", - "-noframes", tempfile.path, :timeout => 30 + "-noframes", tempfile.path, :timeout => 30, :binary_output => false ) cleanup_tempfile(tempfile) - html end end |