lib/reverse_markdown/converters/p.rb in reverse_markdown-0.8.2 vs lib/reverse_markdown/converters/p.rb in reverse_markdown-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
module ReverseMarkdown
module Converters
class P < Base
- def convert(node)
- "\n\n" << treat_children(node).strip << "\n\n"
+ def convert(node, state = {})
+ "\n\n" << treat_children(node, state).strip << "\n\n"
end
end
register :p, P.new
end