metamaps--metamaps/app/views/mailboxer/notification_mailer/new_notification_email.text.erb

3 lines
98 B
Text
Raw Normal View History

<% body = @notification.body.parts[0].encoded %>
<%= body.html_safe? ? body : strip_tags(body) %>