2 ms·
> ... every time I do hit enter in this > textbox, it should create a newline ... ^^^^^^^^^ This is your expectation. It is not my expectation.
by ColinWright 12y ago
> ... every time I do hit enter in this
> textbox, it should create a newline ...
^^^^^^^^^
This is your expectation. It is not my expectation. I do not believe that every time one hits enter in the text box it should create a newline in the formatted post.
Why is your intuition more valid than mine?
- krapp 12y agoI'm not going to claim it's more valid, but I do believe it more closely follows the principle of least astonishment. If I go through the trouble of posting three lines, but only one line appears, then the result doesn't match what I intended to convey - it is as if I posted an entirely run-on paragraph either way. Granted, there are obvious paragraphs when you break two lines - but why that and nothing at all for one?
- ColinWright 12y ago> ... I do believe it more closely > follows the principle of least > astonishment. I would be more surprised to find that something I type in a textarea has its line-feeds preserved as it gets converted from the text I type into HTML. > If I go through the trouble of posting > three lines, but only one line appears, > then the result doesn't match what I > intended to convey - it is as if I > posted an entirely run-on paragraph > either way. Which is what happens when HTML is rendered to a screen. The line-feeds in the HTML are not preserved. We have different expectations. The existing behavior matches my expectations, and it does not match yours. I have found you an explanation, but I expect you will never agree with me about what's "natural" because we have different beliefs about what "should" happen. <fx: shrug /> It is what it is, and it won't change. You will disagree with the rationale and "naturalness," but perhaps the fact that others exist with different expectations may help you accept that it does not and will not do what you thought was obviously "right." I'm not, by the way, claiming that its behavior is more "right" than what you expect. I'm merely pointing out that not everyone has the same expectations as yours.
- krapp 12y agoIt does seem obvious to me, but i'm aware it's subjective. Between the two, I suppose paragraphs are more explicit.