Comment linebreaks are not displayed.
Bug #506170 reported by
Nathan Geffen
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 |
To post a comment you must log in.
django linebreaksbr filter easily sorted this out.