Sha256: 8f61e4a93dc4268f7a897f86f06b115d1bd1f3d718a1f3a2f9d107dcf9bb3e7e

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

# encoding: UTF-8

module Spontaneous::Field
  class HTML < LongString

    # Just pass through the value without any kind of escaping
    def generate_html(value, site)
      value
    end

    self.register
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/field/html.rb
spontaneous-0.2.0.beta9 lib/spontaneous/field/html.rb
spontaneous-0.2.0.beta8 lib/spontaneous/field/html.rb
spontaneous-0.2.0.beta7 lib/spontaneous/field/html.rb
spontaneous-0.2.0.beta6 lib/spontaneous/field/html.rb
spontaneous-0.2.0.beta5 lib/spontaneous/field/html.rb