raw_html_block.rb 252 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 class RawHTMLBlock < Block def self.description _('Raw HTML') end settings_items :html, :type => :text attr_accessible :html def content(args={}) (title.blank? ? '' : block_title(title)).html_safe + html.to_s.html_safe end end