Module: Hanami::View::Tilt::HamlAdapter Private
- Defined in:
- lib/hanami/view/tilt/haml_adapter.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- Template =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Haml template renderer for Hanami::View.
This differs from the standard Haml::Template by automatically escaping HTML based on a given string’s ‘#html_safe?`, regardless of when “hanami/view/html” is required.
Temple::Templates::Tilt( ::Haml::Engine, use_html_safe: true, capture_generator: HTMLSafeStringBuffer, )