A platform for community discussion. Free, open, simple.
FIX: Do not interpret backreferences in email content
Kane Yorkec537e5ea203
diff --git a/app/helpers/email_helper.rb b/app/helpers/email_helper.rbindex 55b824ded30..f738ac49737 100644--- a/app/helpers/email_helper.rb+++ b/app/helpers/email_helper.rb@@ -27,7 +27,7 @@ module EmailHelperdef email_html_templateEmailStyle.new.html- .sub('%{email_content}', capture { yield })+ .sub('%{email_content}') { capture { yield } }.gsub('%{html_lang}', html_lang).html_safeend