Module: Haml::Filters::Wikitext
- Includes:
- Base
- Defined in:
- lib/wikitext/haml_filter.rb
Instance Method Summary collapse
Instance Method Details
#render(text) ⇒ Object
29 30 31 32 |
# File 'lib/wikitext/haml_filter.rb', line 29 def render(text) html = text.w html.respond_to?(:html_safe) ? html.html_safe : html end |