def message_body(&block)
render(
- partial: "message_body",
- locals: { body: capture(&block) }
+ :partial => "message_body",
+ :locals => { :body => capture(&block) }
)
end
+
+ def style_message(html)
+ html.gsub /<p>/, '<p style="color: black; margin: 0.75em 0">'
+ end
end