raw

v9.37.0

Liquid filter that directly returns the value of the variable. Useful when outputEscape is set.

Auto escape

By default outputEscape is not set. That means LiquidJS output is not escaped by default, thus raw filter is not useful until outputEscape is set.

Input (outputEscape not set)

{{ "<" }}

Output

<

Input (outputEscape="escape")

{{ "<" }}

Output

&lt;

Input (outputEscape="json")

{{ "<" }}

Output

"<"

Input (outputEscape="escape")

{{ "<" | raw }}

Output

<