SpontaneousCMS/spontaneous

View on GitHub
lib/spontaneous/field/html.rb

Summary

Maintainability
A
0 mins
Test Coverage
# 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