lib/reverse_markdown.rb in reverse_markdown-0.4.1 vs lib/reverse_markdown.rb in reverse_markdown-0.4.2
- old
+ new
@@ -9,9 +9,10 @@
root = case input
when String then Nokogiri::HTML(input).root
when Nokogiri::XML::Document then input.root
when Nokogiri::XML::Node then input
end
+
ReverseMarkdown::Mapper.new(opts).process_root(root)
end
# 2012/08/11 joe: possibly deprecate in favour of #parse
class << self