Closed
Bug 321343
Opened 19 years ago
Closed 18 years ago
Line breaks in user comments not rendered
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: michael, Assigned: cameron)
References
Details
Attachments
(1 file)
2.34 KB,
patch
|
morgamic
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Opera/8.50 (Windows NT 5.1; U; de) Build Identifier: Line breaks (or paragraphs) in user comments aren't rendered correctly; even if the comment contained line breaks, it appears as a big (and rather illegible) blob of text in the browser. Reproducible: Always Steps to Reproduce: 1. Write a user comment for an extension. Include some line breaks to split it into multiple paragraphs (to improve legibility). Actual Results: The line breaks have disappeared when the comment is viewed on the website. Text following a line break is separated from the text preceding it by a mere space character. Expected Results: Text following a line break should start at the beginning of the next line after the text preceding it (i.e. line breaks should be rendered as <br> into the HTML source).
Assignee: Bugzilla-alanjstrBugs → nobody
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: 1.0 → Future
Version: unspecified → 2.0
Agreed. May also want to implement some code to make the maximum number of line breaks 2 at a time.
Not sure how strip_tags and nl2br will work together. Morgamic?
Assignee: nobody → bugs.cameron
Status: NEW → ASSIGNED
Attachment #220382 -
Flags: first-review?(morgamic)
Updated•18 years ago
|
Attachment #220382 -
Flags: first-review?(morgamic) → first-review+
Comment 3•18 years ago
|
||
Thanks, Cameron -- committed. :)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•