Module: Haml::Filters::Textile

Includes:
Base
Defined in:
/var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/ruby-haml-3.1.6/lib/haml/filters.rb

Overview

Parses the filtered text with Textile. Only works if RedCloth is installed.

Instance Method Summary (collapse)

Methods included from Base

#compile, included, #internal_compile, #lazy_require, #render_with_options

Instance Method Details

- render(text)

See Also:



334
335
336
# File '/var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/ruby-haml-3.1.6/lib/haml/filters.rb', line 334

def render(text)
  ::RedCloth.new(text).to_html(:textile)
end