Sometimes you want to write something with broken lines and you write in the editor:

That’s right I’m Sokka
It’s pronounced with an Okka
Young Ladies, I rocked ya!

But it ends up looking like this:

That’s right I’m Sokka It’s pronounced with an Okka Young Ladies, I rocked ya!

The fix is to add two spaces between the final character and the carriage return.

I don’t understand what the problem is. CR should be easy enough to translate, and the users intentions are clearly confirmed because they’re looking right at what the expect it to look like when they hit submit.

Why does the user have to add two spaces? Why is the universe like this?

Edit: Holy Shit, look, I’m just an idiot typing text expecting WYSIWYG and I don’t see a good reason for why I’m not getting it other than that programmers lack theory of mind.

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    6 days ago

    I think they’re talking largely (mostly?) about Markdown. (For instance, in Lemmy, when you stick a newline there, it doesn’t give you a line break in the flow of the text.) And when they say “Carriage Return”, they don’t know what they’re talking about. If I’m interpreting them correctly, I think they just mean “newline”. And when they say “two spaces”, I think they mean two newlines.

    • schipelblorp@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      6 days ago

      Yes, I may not be using the right terminology. The “return” button on the keyboard.

      I also gave an example, so I’m not sure why there’s so much confusion.