module Liquid::Autoescape::Filters

Liquid filters used to support the {% autoescape %} tag

Public Instance Methods

skip_escape(input) click to toggle source

Flag an input as exempt from auto-escaping

This is a non-transformative filter that works by registering itself in a variable's filter chain. If a variable detects this in its filters, no escaping will be performed on it.

@param [String] input A variable's content @return [String] The unmodified content

# File lib/liquid/autoescape/filters.rb, line 17
def skip_escape(input)
  input
end