Sha256: 2f5a55df4025dd6b0e19f667833a73cb156d1bc70d3e5cf7f4aab35156c35445
Contents?: true
Size: 215 Bytes
Versions: 6
Compression:
Stored size: 215 Bytes
Contents
module Publishr class KramdownProcessor def self.convert(html) sanitized_html = HtmlProcessor.sanitize(html) Kramdown::Document.new(sanitized_html, :input => 'html' ).to_kramdown end end end
Version data entries
6 entries across 6 versions & 1 rubygems