redmine_ckeditor icon indicating copy to clipboard operation
redmine_ckeditor copied to clipboard

HTML in emails

Open albertofem opened this issue 10 years ago • 4 comments

Hi. I have Redmine 2.4.3 with this plugin installed and HTML emails enabled. However, I still receive emails showing raw html tags. Looking at the issue email template I see this line:

<%= textilizable(issue, :description, :only_path => false) %>

Which seems to be the problem, so I created a plugin to replace it with:

 <%= issue.description.html_safe %>

This seems to work. I am not sure if this is a real issue or something wrong about my setup. Any ideas?

albertofem avatar Mar 13 '14 07:03 albertofem

I can't reproduce it.

a-ono avatar Apr 09 '14 12:04 a-ono

I have the some problem. I receive email with RAW HTML @albertofem could you add plugin which you mention to github or give us link to it?

darioo avatar May 21 '14 10:05 darioo

I had exactly same issue. I solved it by adding line to config/enviroment.rb on the end of the file

ActionMailer::Base.default :content_type => "text/html"

Darkless012 avatar Jun 12 '14 10:06 Darkless012

I had the same exact issue. @Darkless012 your workaround works for me too.

pcpostar avatar Mar 12 '18 15:03 pcpostar