Sha256: e2c62e89cbce74b7399710cfe71f9d7c2130d633b92b4ecf3638a5fb428834ce

Contents?: true

Size: 175 Bytes

Versions: 11

Compression:

Stored size: 175 Bytes

Contents

require 'redcloth'

class TextileFilter < TextFilter
  description_file File.dirname(__FILE__) + "/../textile.html"
  def filter(text)
    RedCloth.new(text).to_html
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-0.6.1 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.0 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.3 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.2 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.4 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.5.1 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.5 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.6 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.7 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.8 vendor/extensions/textile_filter/lib/textile_filter.rb
radiant-0.6.9 vendor/extensions/textile_filter/lib/textile_filter.rb