multi_line

Description

Insert a <br /> tag in front of every \n linebreak character.

Syntax

{{ <string> | multi_line }}

Example

{{ "hello\nworld" | multi_line }}

outputs

hello<br/>world
© 2024 LocomotiveCMS Terms of use Privacy Policy
Back to top