scipost.templatetags.texfilters module

scipost.templatetags.texfilters.linebreaktex(value, autoescape=True)[source]

Convert all newlines in a piece of plain text to HTML line breaks

scipost.templatetags.texfilters.safe_tex_url(value, autoescape=True)[source]

Convert all newlines in a piece of plain text to HTML line breaks