filter_brlinebreaks (zotonic_mod_base v1.0.0-rc.17)

Translate HTML <br/\> elements into ASCII newlines (\n).

The following string:

{{ "foo<br/>bar"|brlinebreaks }}

will evaluate to foo\nbar.

Note: Non-closing line breaks (<br\>) are currently not converted.

See also

linebreaksbr

Summary

Functions

brlinebreaks(S, Context)