Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 332 Bytes

filter_brlinebreaks.rst

File metadata and controls

14 lines (8 loc) · 332 Bytes

django

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.

filter-linebreaksbr