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