Object
Processes content in Textile format using the redcloth library.
Convert the content in context to HTML.
# File lib/webgen/contentprocessor/redcloth.rb, line 9 9: def call(context) 10: require 'redcloth' 11: doc = ::RedCloth.new(context.content) 12: doc.hard_breaks = context.website.config['contentprocessor.redcloth.hard_breaks'] 13: context.content = doc.to_html 14: context 15: rescue LoadError 16: raise Webgen::LoadError.new('redcloth', self.class.name, context.dest_node, 'RedCloth') 17: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.