Sha256: 5a07dff69dd3959e0391796e3aeef61bfb4f342c6d28d007143ce1094174c232
Contents?: true
Size: 277 Bytes
Versions: 24
Compression:
Stored size: 277 Bytes
Contents
module HoboFields class MarkdownString < RawMarkdownString include SanitizeHtml HoboFields.register_type(:markdown, self) def to_html(xmldoctype = true) blank? ? "" : HoboFields::SanitizeHtml.sanitize(BlueCloth.new(self).to_html) end end end
Version data entries
24 entries across 24 versions & 1 rubygems