Module: Haml::Filters::Code
- Includes:
- Base
- Defined in:
- lib/sinatra/api_docs/viewer.rb
Instance Method Summary collapse
Instance Method Details
#render(text) ⇒ Object
106 107 108 |
# File 'lib/sinatra/api_docs/viewer.rb', line 106 def render(text) Haml::Filters::Preserve.render(Haml::Filters::Escaped.render(text)) end |