Sha256: 84449b0628fb62e8dd638e9c8051691729b8e09a8ff42b09a547bf18cd7fe2b4
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
module Blogit module Parsers class TextileParser require "redcloth" # A String containing the content to be parsed attr_reader :content def initialize(content) @content = content end # The parsed content # # Returns an HTML safe String def parsed RedCloth.new(content).to_html end end end end
Version data entries
4 entries across 4 versions & 1 rubygems