Sha256: 168e17033d4d12413efc37ab2aaa13ee12274f3fb3027cb7ede3b17c1992d71f

Contents?: true

Size: 366 Bytes

Versions: 5

Compression:

Stored size: 366 Bytes

Contents

class Plugins::Textfilters::TextileController < TextFilterPlugin::Markup
  plugin_display_name "Textile"
  plugin_description 'Textile markup language'

  def self.help_text
    %{
      See [_why's Textile reference](http://hobix.com/textile/).
    }
  end
  
  def self.filtertext(controller,content,text,params)
    RedCloth.new(text).to_html(:textile)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typo-4.0.2 components/plugins/textfilters/textile_controller.rb
typo-3.99.4 components/plugins/textfilters/textile_controller.rb
typo-4.0.0 components/plugins/textfilters/textile_controller.rb
typo-4.0.1 components/plugins/textfilters/textile_controller.rb
typo-4.0.3 components/plugins/textfilters/textile_controller.rb