app/models/comatose/page.rb
# Returns the page's content, transformed and filtered...
Returns the page's content, transformed and filtered
Returns the page ' s content transformed and filtered
def to_html(options={})
      text              = self.body
      binding           = Comatose::ProcessingContext.new(self, options)
      filter_type       = self.filter_type || '[No Filter]'
      transformed_text  = TextFilters.transform(text, binding, filter_type, Comatose.config.default_processor)
      return transformed_text
    end
def to_html ( options = { } ) text = self . body binding = Comatose :: ProcessingContext . new ( self , options ) filter_type = self . filter_type || '[No Filter]' transformed_text = TextFilters . transform ( text , binding , filter_type , Comatose . config . default_processor ) return transformed_text end
Returns the page's content, transformed and filtered...
Returns the page ' s content transformed and filtered ...
#version = options.delete(:version) #Comatose.logger.debug "transformed_text: #{transformed_text}"
options
<not_specific>