foodsoft/plugins/messages/app/views/messages_mailer/foodsoft_message.html.haml
Philipp Rothmann d2d7d0c4f9 feat(messages): render markdown in message body
uses redcarpet gem to render markdown to html. Also a html email template
is added.
2023-01-30 13:23:29 +01:00

6 lines
264 B
Text

= raw @message.render_markdown
%hr/
%pre
- if @message.group
= raw t '.footer_group', group: @message.group.name
= raw t '.footer', reply_url: new_message_url('message[reply_to]' => @message.id), msg_url: message_url(@message), profile_url: my_profile_url