Sha256: 740625745e5c9ede4e03f3f27de76e5959fcd74d8a0af506b57db7ad8a79bacf
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
# -*- encoding: utf-8 -*- module Webgen::ContentProcessor # Processes content in Textile format using the +redcloth+ library. class RedCloth # Convert the content in +context+ to HTML. def call(context) require 'redcloth' context.content = ::RedCloth.new(context.content).to_html context end end end
Version data entries
3 entries across 3 versions & 3 rubygems