Sha256: ac4ef1ea0710a9ddf86e145f8276cab0a46d2c18eb010fe463354f197ec0b636

Contents?: true

Size: 222 Bytes

Versions: 57

Compression:

Stored size: 222 Bytes

Contents

module HoboFields
  module Types
    class RawHtmlString < HoboFields::Types::Text

      def to_html(xmldoctype = true)
        self.html_safe
      end

      HoboFields.register_type(:raw_html, self)

    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
hobo_fields-2.2.6 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.2.5 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.2.4 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.2.3 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.2.2 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.2.1 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.2.0 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.2 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.1 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.0 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.0.pre4 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.0.pre3 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.0.pre2 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.1.0.pre1 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.0.1 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.0.0 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.0.0.pre10 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.0.0.pre9 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-2.0.0.pre8 lib/hobo_fields/types/raw_html_string.rb
hobo_fields-1.3.3 lib/hobo_fields/types/raw_html_string.rb