Feature request: Option to use (regular) line-breaks when posting on together.jolla.com [answered]
I was just typing a comment to a post here on together.jolla.com, and I noticed that when the comment was posted, all my intended line-breaks were removed, making my message more difficult to digest than is necessary.
I feel that it is important to enable users to put in proper line-breaks when responding, as it can help to make the whole forum far more readable.
I will use said comment as an example. It is not exactly a worst-case scenario, but it does illustrate my point.
Of course, the longer a post is, the more the line breaks are needed for clear formatting.
This is how I formatted the comment prior to posting:
"I too have been annoyed with this bug several times.
I have found on several occasions that instead of scrolling up to read the previous conversation with the person I am typing to, I end up clicking the page back button, which results in being taken back to the message list and losing everything I just wrote.
This is particularly annoying when typing long messages, as I am sure many of you have experienced too!"
This is how it was formatted after I submitted:
"I too have been annoyed with this bug several times. I have found on several occasions that instead of scrolling up to read the previous conversation with the person I am typing to, I end up clicking the page back button, which results in being taken back to the message list and losing everything I just wrote. This is particularly annoying when typing long messages, as I am sure many of you have experienced too!"
Note: Double line-breaks do work, as I have used above for clarity; however, if you want to break off text on successive lines (i.e., no empty space between the two lines), then a regular line-break will simply be ignored.
Either enter double white space (i.e., hit the space bar twice) after a sentence, or use HTML tags,
as suggested by jgr to properly line-break.
I did not find this information anywhere on this page, so I feel that should be made clear.
I still think normal line-breaks should be accepted; this would be by far the easiest, as this is what users do already.
Are there any obstacles in doing it this way with regards to the coding of the forum, I wonder?
Edit 2: Removed link to PasteBin and inserted my example directly into this post, as I figured out how to format using alternative methods + other changes for clarity.
( Not relevant for this particular topic, but the comment is from: https://together.jolla.com/question/7666/sms-add-ability-to-view-received-sms-messages-while-composing-a-new-message/ )
What's wrong with using double line breaks?
(Double line break there.) That's how you can separate paragraphs here, and the empty space makes it easier to tell paragraphs apart.
If there's no space, you sometimes can't see the line break at all (if the line preceding it happens to be full).
ssahla ( 2014-05-14 21:52:00 +0200 )edit@ssahla: It's not that there is anything "wrong" with it, it is just that most people type by making regular line-breaks, and those will be ignored - and they, as I, may not be aware of how to change it.
oitos ( 2014-05-14 21:58:21 +0200 )editDouble line-breaks are handy, but sometimes you want a paragraph to be broken off from the previous one, without separating them with a double - just a single. Right?
I see your point; if you enter line breaks when editing your text, it's a surprise to see them ignored in the "published" text. Actually, I don't know why they are ignored, maybe there is a reason. Maybe they shouldn't be ignored.
Regarding line breaks without empty space between the lines, it is an almost-universal typographic convention that new paragraphs start with either an indentation (like in books) or some white space (like on this forum). And breaking a line without starting a new paragraph is rarely needed. It can be needed in some special cases, so I agree that it should be possible also.
I don't really disagree with your suggestion, I'm just saying that in 99 % of cases it's good to have that white space before the line break; it really makes it easier for the reader. And using double line breaks for separating paragraphs helps you when you are editing your text – you can see the paragraph breaks at a glance.
ssahla ( 2014-05-14 22:24:54 +0200 )editYep, that is my point exactly. And yeah, there may be a technical limitation as to why line-breaks aren't just recognised. I feel then, however, that it should be made clear to users how to make them.
oitos ( 2014-05-15 05:52:55 +0200 )editI don't use indentation like that much, I admit, but I did some testing and using double white space in front of a sentence does nothing for the formatting. It must be after the previous sentence.
White spaces in front of a sentence are ignored entirely as far as I can figure (even 3, 4 or 5). =)