Open Sierra410 opened 4 days ago
The ability send multi-line message seems kinda important for a chat app, so I don't agree with the bot marking it as "S-Minor". There aren't exactly "suitable workarounds". The way it used to work was a workaround already, and now that's broken too.
I know I don't really have a say about this, but to me that sure does sound like "S-Major".
Element does not convert
\n
characters to<br />
(#25891), so to reliably send messages that'd properly render on all clients, markdown newline syntax has to be used explicitly. Recently, however, that started to result in readable<br />
being injected instead.Only messages with
\
character are affected, since that forces them into html mode. (#25891)Example message:
(note the two spaces a the end of the first line, which is Markdown syntax for a newline)
The message above used to result in formatted_body that looked like
line * 1<br />\nline 2
and rendered as
on all clients.
Now, however, attempting do that injects
<br />
as readable text.That is, formatted_body looks like
line * 1<br />\nline 2
and the message renders as
on all clients, including Element.
Essentially, it is now entirely impossible to send multi-line messages in markdown mode, as they're either not portable across all clients, or they're mangled.
Operating system
All Of Them
Browser information
All Of Them
URL for webapp
app.element.io
Application version
1.11.86
Homeserver
matrix.org
Will you send logs?
No