← Back to team overview

ngo-geeks team mailing list archive

[Bug 506170] Re: Comment linebreaks are not displayed.

 

django linebreaksbr filter easily sorted this out.

** Changed in: publicationmanager
       Status: Confirmed => Fix Committed

** Changed in: publicationmanager
     Assignee: (unassigned) => Nathan Geffen (nathangeffen)

-- 
Comment linebreaks are not displayed.
https://bugs.launchpad.net/bugs/506170
You received this bug notification because you are a member of NGO
Geeks, which is the registrant for Publication Manager.

Status in Manage and Present Beautiful Publications: Fix Committed

Bug description:
The linebreaks between paragraphs in comments are not displayed. This makes comments difficult to read. Comments are rendered as HTML and user inserted line breaks are therefore ignored, even they use the <p> or <br> tags. The reason this happens is that comments are automatically put through Django's safe filter which removes HTML (correctly so to prevent scripting attacks etc). I've found a few websites which explain how to rectify this but no particularly elegant ones. Anyway, should be an easy fix.