Sha256: d280213a3b67f9859fed4f3eb7c5b9ac3db5bc3db19b89cb98044c43bbf20e30
Contents?: true
Size: 290 Bytes
Versions: 15
Compression:
Stored size: 290 Bytes
Contents
module FilteredColumn module Filters class TextileFilter < Base def self.filter(text) Object.const_defined?("RedCloth") ? RedCloth.new(text).to_html : text end def self.escape(text) %(<notextile>#{text}</notextile>) end end end end
Version data entries
15 entries across 15 versions & 2 rubygems