Skip to content

WhitespaceControl

liquid2.WhitespaceControl

Bases: Enum

DEFAULT class-attribute instance-attribute

DEFAULT = auto()

Use the environment's default_trim setting.

MINUS class-attribute instance-attribute

MINUS = auto()

Trim all whitespace.

PLUS class-attribute instance-attribute

PLUS = auto()

Preserve all whitespace.

TILDE class-attribute instance-attribute

TILDE = auto()

Trim immediate carriage return and newline characters only.