Ticket #714 (new bug)

Opened 18 months ago

Last modified 7 months ago

Linebrakes get lost while posting in forum with disabled javascript

Reported by: midsch Owned by:
Priority: major Milestone: unassigned
Component: BW Forum Version: all
Keywords: linebrakes javascript js Cc:
Follow up needed: review code Frequently reported: 1
Announce on BW: no

Description

If you post in bw-forum with disabled javascript all linebrakes get lost. The post is complete but not very well readable.

Change History

Changed 7 months ago by globetrotter_tt

  • follow_up changed from none to test

I just test it on test and it seems that linebreaks finally work. Please confirm.

Changed 7 months ago by midsch

  • follow_up changed from test to review code

Tested in at test: works. Kind of (and better than before). But it just looks like working. If you edit the post afterwards you see the html-tags: there are no linebreaks, but paragraphs. Strictly speaking a paragraph is not a linebreak. Worse: after editing and updating the post again every linebreak is put into a paragraph (although empty paragraphs aren't shown - at least not in my browser [iceweasel], don't know about the others.).

Note: In comments for groups (unfortunately not editable after posting) you get proper linebreaks.

Changed 7 months ago by globetrotter_tt

Actuallly linebreaks <br /> should be avoided when you enter a text. So everytime you hit the return-key, a new paragraph should begin. That seems to work. But when you edit a post from you again, it would better to display only inline html-tags.

Note: See TracTickets for help on using tickets.