Some text
< at the end of the previous line
My code
Sorry I don't know how to disable formatting in github
Describe how what happens differs from what you expected.
The message is deformed

It should be able to correct the formatting before displaying the text. This works well in discord.
Platform: desktop, probably web too
OS: Linux Mint
Could you verify the same happens here: https://spec.commonmark.org/dingus/
Yes it does. I guess this is the engine riot uses to render text.
But look on Discord:

I think I'm not alone when I say that sometimes I type too fast. The current render is quite ugly and break the design and overall experience.
the following code show properly in Discord:


It's just down to what dialect of markdown discord uses, the one riot chose has the behaviour you describe
And it's not optimal and should be fixed. It's why I opened an issue.
It can only be fixed upstream in the commonmark specification, or by switching dialect which has been rejected several times, so maybe best would be to make a ticket with them
I'm adding wontfix to indicate that we won't special-case changing this behaviour. I totally agree it's ugly and we could do better by special-casing, but I from a maintenance perspective being able to say "we use commonmark and commonmark does _this_" is hugely preferable to "we use commonmark except where we don't".
I'm totally neutral about what markdown dialect we use, as long as we use it without patches/tweaks that are hard to maintain :)
Thanks @lampholder I totally understand. I will try to conceive commonmark then :)