class ReverseMarkdown::Converters::Blockquote
Public Instance Methods
convert(node, state = {})
click to toggle source
# File lib/reverse_markdown/converters/blockquote.rb, line 4 def convert(node, state = {}) content = treat_children(node, state).strip content = ReverseMarkdown.cleaner.remove_newlines(content) '> ' << content.lines.to_a.join('> ') end