Open tadzik opened 21 hours ago
An event that has a plaintext and a formatted body. That's how it looks for non-RTE:
"content": { "msgtype": "m.text", "body": "tadzik: hi", "format": "org.matrix.custom.html", "formatted_body": "<a href=\"https://matrix.to/#/@irc_tadzik:home.tadzik.net\">tadzik</a>: hi", "m.mentions": { "user_ids": [ "@irc_tadzik:home.tadzik.net" ] } },
The event sent contains HTML in both body and formatted_body:
body
formatted_body
{ "msgtype": "m.text", "body": "<a data-mention-type=\"user\" href=\"https://matrix.to/#/@irc_tadzik:home.tadzik.net\" contenteditable=\"false\">tadzik</a> hi", "format": "org.matrix.custom.html", "formatted_body": "<a href=\"https://matrix.to/#/@irc_tadzik:home.tadzik.net\">tadzik</a> hi" }
Debian Linux
Firefox 128 ESR
app.element.io
Element version: 1.11.86 Crypto version: Rust SDK 0.7.2 (517d99b), Vodozemac 0.7.0
Synapse v1.114.0
No
Steps to reproduce
Outcome
What did you expect?
An event that has a plaintext and a formatted body. That's how it looks for non-RTE:
What happened instead?
The event sent contains HTML in both
body
andformatted_body
:Operating system
Debian Linux
Browser information
Firefox 128 ESR
URL for webapp
app.element.io
Application version
Element version: 1.11.86 Crypto version: Rust SDK 0.7.2 (517d99b), Vodozemac 0.7.0
Homeserver
Synapse v1.114.0
Will you send logs?
No