lib/comfortable_mexican_sofa/cms_tag.rb
# Content that is used during page rendering. Outputting existing content
# as a default.
Content that is used during page rendering. Outputting existing content
as a default.
Content that is used during page rendering . Outputting existing content as a default .
def render
      if ComfortableMexicanSofa.config.disable_irb && ![CmsTag::Partial, CmsTag::Helper].member?(self.class)
        content.to_s.gsub('<%', '&lt;%').gsub('%>', '%&gt;')
      else
        content.to_s
      end
    end
def render if ComfortableMexicanSofa . config . disable_irb && ! [ CmsTag :: Partial , CmsTag :: Helper ] . member? ( self . class ) content . to_s . gsub ( '<%' , '&lt;%' ) . gsub ( '%>' , '%&gt;' ) else content . to_s end end
Content that is used during page rendering.
Content that is used during page rendering .
# cleaning content from possible irb stuff. Partial and Helper tags are OK.