Issue 630 from bugs.joindiaspora.com
Created by: jbk
On Sun Nov 28 16:23:07 2010
_Priority: Normal_
_Status: Rejected_
Trying to enter a newline or a carriage return post your message or comment.
It should be possible to go to the next line (at least for having more than one lines in comments :))
the second problem with the current behaviour is that it's not expected. People reckon they are going to the next line, not getting their message posted as is.
Comment by: neuromancer
On Sun Nov 28 21:12:09 2010
Duplicated of #620
This is not a duplicate of the issue linked to and is still outstanding. I think it should be a priority as its a pretty basic usability issue.
Diaspora is using (mostly unmodified) markdown formatting, you can get a line break by inserting two spaces at the end of a line and then hitting enter
your sentence[space][space][enter]
next line
Ok, that explains the problem but doesn't really solve it. If like most people you don't know that and have no idea what markdown is, you'd expect a new line shown in the input to correspond to a new line in the resulting post.
I've now found an open issue on this at:
https://github.com/diaspora/diaspora/issues/3174
If you wanna paste a code and save all of the spacings, you should use [triple-back-quote][your-code][triple-back-quote]
Where [triple-back-quotes] = ```
For example:
for (int i = 0; i < 3; ++i){
cout << i < endl;
}