lib/mastalk/snippets/add_action.html.erb in mastalk-0.1.2 vs lib/mastalk/snippets/add_action.html.erb in mastalk-0.2.0
- old
+ new
@@ -1,5 +1,5 @@
# ^
<div class='add-action'>
- <%= Mastalk::Document.new(body.strip).to_html %>
+ <%= Mastalk::Document.new(body.strip).to_html.gsub(/<p>|<\/p>/, '') %>
</div>