diff options
author | francis <francis> | 2009-10-03 10:05:55 +0000 |
---|---|---|
committer | francis <francis> | 2009-10-03 10:05:55 +0000 |
commit | 0f600fd35dd0c54d83c320432c388c281c670c92 (patch) | |
tree | 2c493fc8501f9edbaa4f2bb3736dc33591edc75b | |
parent | 9460ab73aa18245de5362308097fd2daf59e2017 (diff) |
Oopss.
-rw-r--r-- | app/models/outgoing_message.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/outgoing_message.rb b/app/models/outgoing_message.rb index cf5237f82..77e4a596c 100644 --- a/app/models/outgoing_message.rb +++ b/app/models/outgoing_message.rb @@ -22,7 +22,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: outgoing_message.rb,v 1.92 2009-10-03 10:04:06 francis Exp $ +# $Id: outgoing_message.rb,v 1.93 2009-10-03 10:05:55 francis Exp $ class OutgoingMessage < ActiveRecord::Base strip_attributes! @@ -225,7 +225,7 @@ class OutgoingMessage < ActiveRecord::Base def new_get_body_for_html_display text = self.body.strip self.remove_privacy_sensitive_things!(text) - #text = MySociety::Format.wrap_email_body(text, 67, " ", "\n") # reparagraph and wrap it so is good preview of emails + text = MySociety::Format.wrap_email_body(text, 67, " ", "\n") # reparagraph and wrap it so is good preview of emails text = CGI.escapeHTML(text) text = MySociety::Format.make_clickable(text, :contract => 1) text.gsub!(/\[(email address|mobile number)\]/, '[<a href="/help/about#mobiles">\1</a>]') |