<%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_header) %>
<%= call_hook(:view_layouts_mailer_html_before_content, self.assigns) %> <%= yield %> <%= call_hook(:view_layouts_mailer_html_after_content, self.assigns) %>
<%= Redmine::WikiFormatting.to_html(Setting.text_formatting, Setting.emails_footer) %>