id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 4573 Minor rewrite of linebreaks and linebreaksbr Johan Bergström nobody "This relatively small patch modifieslinebreaks and linebreaksbr. They now share the same backend (django.utils.html.linebreaks) which makes linebreaksbr accept additional types of newlines (\r\n etc). This patch also adds support for html (as addition to xhtml) output which are passed in as an argument to the filter: {{{

linebreaks/linebreaksbr both accepts ""html"" or 0 (False) as argument

{{ blog.entry|linebreaks:""html"" }} }}} Both filters and util defaults to xhtml output (the current behaviour)." closed Template system dev wontfix linebreaks html Design decision needed 1 0 0 0 0 0