Sha256: 1111397b955aeec945c726f1da760588b6f21c1df06baec43db382a75665a2ca

Contents?: true

Size: 219 Bytes

Versions: 24

Compression:

Stored size: 219 Bytes

Contents

module HoboFields

  class RawMarkdownString < HoboFields::Text

    HoboFields.register_type(:raw_markdown, self)

    def to_html(xmldoctype = true)
      blank? ? "" : BlueCloth.new(self).to_html
    end

  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
hobofields-0.8.6 lib/hobo_fields/raw_markdown_string.rb
hobofields-0.8.5 lib/hobo_fields/raw_markdown_string.rb
hobofields-0.8.7 lib/hobo_fields/raw_markdown_string.rb
hobofields-0.8.4 lib/hobo_fields/raw_markdown_string.rb