Function askama::filters::linebreaks
source ยท pub fn linebreaks<T: Display>(s: T) -> Result<String>
Expand description
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>
.