Line breaks when replying via email

When replying by mail, Discourse set a line break every 70 characters or so.

Is it made on purpose ? It’s quite unsightly.

1 лайк

It’s not Discourse that is doing it but your mail client :wink:

2 лайка

Really? I use Gmail and when I look at the sent messages, there is no line breaks.

They aren’t so easily seen.

Some OS use “\r” some “\n” some “\r\n”

This can be fixed with “replace” code. But I don’t know if that’s what’s happening here.

1 лайк

Hum… When I look at the source of my mails, there is indeed line breaks in the plain text version.

Is Discourse using this one rather than the HTML one, which may then be parsed in Markdown?

3 лайка

That’s exactly what’s happening (we always prefer the text version to the HTML version).

3 лайка

This is changing, we will begin to prefer HTML version as the line break problem is impossible otherwise.

2 лайка

I still see a similar issue regularly here:

I wonder if the folks at commonmark should just go ahead and just enable traditional markdown linebreaks though.

1 лайк