diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-04-02 12:11:32 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-04-07 17:09:30 +0100 |
commit | e7d0f9a8b350ffe3c17451d6bb18051c7230ca61 (patch) | |
tree | 03f5ad3335ed677e49135d6617ccd7fc09d6877a /lib/attachment_to_html/attachment_to_html.rb | |
parent | 44eff43ee8024a03fe4c327638ac0dbc1b47f4fd (diff) |
Simpler AttachmentToHTML::Adapters::PDF interface
TODO: We really should be testing the full output of PDF#body, but
inconsistencies between pdftohtml prevent sensible means of doing this.
For example:
adapter.body.should == %Q(\n<A name=1></a>thisisthebody<br/>\n<hr>\n)
Fails because some versions (correctly!) use lower case tag names.
Diffstat (limited to 'lib/attachment_to_html/attachment_to_html.rb')
0 files changed, 0 insertions, 0 deletions