summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2012-01-20 22:33:13 +0100
committerAlex Legler <a3li@gentoo.org>2012-01-20 22:33:13 +0100
commit50238b98e49b760c52eed1b14ad7fb93058325a1 (patch)
treeb79a9aeb900e17a51a510089e7c488afdccf94f2
parentFix archive display in December. Thanks to ackle for the report (diff)
downloadglsamaker-50238b98e49b760c52eed1b14ad7fb93058325a1.tar.gz
glsamaker-50238b98e49b760c52eed1b14ad7fb93058325a1.tar.bz2
glsamaker-50238b98e49b760c52eed1b14ad7fb93058325a1.zip
Fix double escaping when emailing the finished draft.
-rw-r--r--app/controllers/glsa_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/glsa_controller.rb b/app/controllers/glsa_controller.rb
index 72f559a..c76f5ed 100644
--- a/app/controllers/glsa_controller.rb
+++ b/app/controllers/glsa_controller.rb
@@ -350,7 +350,7 @@ class GlsaController < ApplicationController
if params[:email] == '1'
with_format('txt') do
Glsamaker::Mail.send_text(
- render_to_string({:template => 'glsa/show.txt.erb', :layout => false}),
+ render_to_string({:template => 'glsa/show.txt.erb', :layout => false}).html_safe,
"[ GLSA #{@glsa.glsa_id} ] #{@rev.title}",
current_user,
false