| Module | ActionView::Helpers::TextHelper |
| In: |
lib/haml/helpers/action_view_mods.rb
lib/haml/helpers/xss_mods.rb |
| concat | -> | concat_without_haml |
# File lib/haml/helpers/action_view_mods.rb, line 74
74: def concat_with_haml(string, binding = nil)
75: if is_haml?
76: haml_buffer.buffer.concat(string)
77: else
78: concat_without_haml(string, binding)
79: end
80: end
# File lib/haml/helpers/xss_mods.rb, line 141
141: def concat_with_haml_xss(string)
142: if is_haml?
143: haml_buffer.buffer.concat(haml_xss_html_escape(string))
144: else
145: concat_without_haml_xss(string)
146: end
147: end