Function askama::filters::paragraphbreaks
source ยท pub fn paragraphbreaks<T: Display>(s: T) -> Result<String>
Expand description
Replaces only paragraph breaks in plain text with appropriate HTML
A new line followed by a blank line becomes a paragraph break <p>
.
Paragraph tags only wrap content; empty paragraphs are removed.
No <br/>
tags are added.