Module: Spree::Core::Emails::EscapedOutput::Variable
- Defined in:
- lib/spree/core/emails/escaped_output.rb
Overview
{{ value }} and {% echo value %}. Variables are not tags, so this
is the one place Liquid itself has to be extended.
Instance Method Summary collapse
Instance Method Details
#render_to_output_buffer(context, output) ⇒ Object
20 21 22 23 24 25 |
# File 'lib/spree/core/emails/escaped_output.rb', line 20 def render_to_output_buffer(context, output) return super unless EscapedOutput.active?(context) write_escaped(render(context), output) output end |