Sha256: 70dadd677c7ed112255c03d6153e9471d37e5c82570dbb66a8a1933936babce9

Contents?: true

Size: 174 Bytes

Versions: 4

Compression:

Stored size: 174 Bytes

Contents

module Renderers
  class Textile
    def self.render_content(content)
      require 'rubygems'
      require 'redcloth'
      RedCloth.new(content).to_html
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
httphere-1.1.2 lib/httphere/textile.rb
httphere-1.1.1 lib/httphere/textile.rb
httphere-1.1.0 lib/httphere/textile.rb
httphere-1.0.1 lib/httphere/textile.rb