diff options
-rw-r--r-- | app/models/incoming_message.rb | 4 | ||||
-rw-r--r-- | public/stylesheets/main.css | 4 | ||||
-rw-r--r-- | todo.txt | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index 8802899ae..a0e423f45 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -19,7 +19,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.162 2008-10-29 11:13:04 francis Exp $ +# $Id: incoming_message.rb,v 1.163 2008-10-29 11:26:32 francis Exp $ # TODO # Move some of the (e.g. quoting) functions here into rblib, as they feel @@ -176,7 +176,7 @@ class FOIAttachment html = File.read(tempfile.path + ".html") File.unlink(tempfile.path + ".html") elsif content_type == 'application/pdf' - IO.popen("/usr/bin/pdftohtml -stdout -enc UTF-8 -noframes " + tempfile.path + "", "r") do |child| + IO.popen("/usr/bin/pdftohtml -zoom 1.0 -stdout -enc UTF-8 -noframes " + tempfile.path + "", "r") do |child| html = child.read() + "\n\n" end else diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 579537788..4d6a284ee 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -733,6 +733,10 @@ a img.attachment_image { margin-left: 1em; margin-right: 1em; } +.view_html_content, img { + border: 1px solid red; + max-width: 50em; +} .view_html_download_link { float: right; @@ -51,7 +51,6 @@ Do something about <title> of views Knackered view as HTML: http://www.whatdotheyknow.com/request/statistics_for_allocation_of_dut#incoming-4793 http://www.whatdotheyknow.com/request/post_lawrence_report_diversity_t_7#incoming-5483 - http://www.whatdotheyknow.com/request/3289/response/7810/attach/html/3/20081023ReplyLetter.pdf Performance: Remove loading of public body tags from every info request load @@ -102,6 +101,8 @@ CSS things https://bugzilla.mozilla.org/show_bug.cgi?id=424194 - Spacing on error boxes round form elements - icons for "Things to do with this request" ? + - Improve CSS for large images in docs + http://www.whatdotheyknow.com/request/3289/response/7810/attach/html/3/20081023ReplyLetter.pdf.html Write code to make sure the Return-Path is never foi@sandwich.org.uk (even if the Rails code breaks for Sendmail case in future botched Rails upgrades :) |