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

3 lines
98 B
Text
Raw Normal View History

2016-11-25 22:21:34 +00:00
<% body = @notification.body.parts[0].encoded %>
<%= body.html_safe? ? body : strip_tags(body) %>