Sha256: 8ba0b5049ba3e4bb4ab20456e119f40d15e1e1fc26e17b67a06729f414e57fe2

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

module HoboFields

  class MarkdownString < HoboFields::Text

    HoboFields.register_type(:markdown, self)

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

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hobofields-0.8.1 lib/hobo_fields/markdown_string.rb
hobofields-0.8.2 lib/hobo_fields/markdown_string.rb
hobofields-0.8.3 lib/hobo_fields/markdown_string.rb
hobofields-0.8 lib/hobo_fields/markdown_string.rb