Class: Skyline::Sections::RawSection
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Skyline::Sections::RawSection
- Includes:
- Skyline::SectionItem
- Defined in:
- app/models/skyline/sections/raw_section.rb
Instance Method Summary collapse
Instance Method Details
#to_text ⇒ Object
4 5 6 |
# File 'app/models/skyline/sections/raw_section.rb', line 4 def to_text HTML::FullSanitizer.new.sanitize(self.body) end |