Comment linebreaks are not displayed.

Bug #506170 reported by Nathan Geffen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Publication Manager
Fix Committed
Medium
Nathan Geffen

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.

Changed in publicationmanager:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Nathan Geffen (nathangeffen) wrote :

django linebreaksbr filter easily sorted this out.

Changed in publicationmanager:
assignee: nobody → Nathan Geffen (nathangeffen)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.