LinebreaksΒΆ
- Filter name:
linebreaks
- Provided by Django v1.0+
The linebreaks
filter replaces line breaks in plain text with
appropriate HTML; a single newline becomes an HTML line break (<br />
) and
a new line followed by a blank line becomes a paragraph break (</p>
).