lib/mastalk/snippets/action_item.html.erb in mastalk-0.2.0 vs lib/mastalk/snippets/action_item.html.erb in mastalk-0.2.1
- old
+ new
@@ -1,5 +1,5 @@
# $action, $item
<div class='action-item'>
- <%= body %>
+ <%= Kramdown::Document.new(body).to_html.gsub(/<p>|<\/p>/, '') %>
</div>