Method: Html2rss::AttributePostProcessors::HtmlToMarkdown#get

Defined in:
lib/html2rss/attribute_post_processors/html_to_markdown.rb

#getString

Returns formatted in Markdown.

Returns:

  • (String)

    formatted in Markdown



36
37
38
39
40
# File 'lib/html2rss/attribute_post_processors/html_to_markdown.rb', line 36

def get
  sanitized_value = SanitizeHtml.new(value, context).get

  ReverseMarkdown.convert(sanitized_value)
end