lib/mastalk/snippets/yes.html.erb in mastalk-0.2.1 vs lib/mastalk/snippets/yes.html.erb in mastalk-0.3.0
- old
+ new
@@ -1,3 +1,3 @@
-# [y], $, false
+# [y], [/y]
-<li class='yes'><%= body.strip.gsub("\n", '') %></li>
+<li class='yes'><%= Kramdown::Document.new(body.strip).to_html.gsub(/<p>|<\/p>|\n/, '') %></li>