Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Simpler AttachmentToHTML::Adapters::PDF interface | Gareth Rees | 2014-04-07 | -46/+16 |
| | | | | | | | | | | | 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. | |||
* | Simpler AttachmentToHTML::Adapters::Text interface | Gareth Rees | 2014-04-07 | -41/+20 |
| | ||||
* | Add an AttachmentToHTML::View to deal with rendering | Gareth Rees | 2014-04-07 | -0/+41 |
| | ||||
* | Work around a bug in unrtf | Gareth Rees | 2014-04-01 | -1/+12 |
| | ||||
* | Get attachment body outside of chdir | Gareth Rees | 2014-04-01 | -24/+36 |
| | ||||
* | Add AttachmentToHTML library | Gareth Rees | 2014-03-28 | -0/+516 |
Extracts the attachment processing from FoiAttachment#body_to_html AttachmentToHTML contains adapters which convert - text/plain - application/pdf - application/rtf Results are returned as an AttachmentHTML::HTML instance which contains the raw HTML and other metadata about the conversion. |