Sha256: 023f928b4d33ef181189d9cb7511d5d8df4c321e373cbf54b932a4fffd74633e

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

# @private
class Skyline::Sections::RawSection < ActiveRecord::Base
  include Skyline::Sections::Interface
    
  def to_text
    HTML::FullSanitizer.new.sanitize(self.body)
  end  
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
skylinecms-3.3.0 app/models/skyline/sections/raw_section.rb
skylinecms-3.2.0 app/models/skyline/sections/raw_section.rb
skylinecms-3.1.0 app/models/skyline/sections/raw_section.rb
westarete-skylinecms-3.0.8.20100329 app/models/skyline/sections/raw_section.rb
westarete-skylinecms-3.0.8.20100330 app/models/skyline/sections/raw_section.rb