module Haml::Helpers::ActionViewExtensions
def with_raw_haml_concat
- See: Haml::Util#rails_xss_safe? -
Other tags:
- Yield: - A block in which all input to `#haml_concat` is treated as raw.
def with_raw_haml_concat old = instance_variable_defined?(:@_haml_concat_raw) ? @_haml_concat_raw : false @_haml_concat_raw = true yield ensure @_haml_concat_raw = old end