-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
A-Room-ViewA-Slash-CommandsHacktoberfestIssues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/Help WantedExtra attention is neededExtra attention is neededO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defectgood first issueGood for newcomersGood for newcomers
Description
Steps to reproduce
send a message with /spoiler
applies to
- any kind of markdown
- newlines
Outcome
What did you expect?
proper html in the formatted_body
What happened instead?
spoilers are implemented with span
with custom data property in formatted_body
, but spoiler contents are not converted as they usually are before being put into formatted_body
.
"formatted_body": "<span data-mx-spoiler>spoilery text</span>"
Operating system
arch
Application version
Element Nightly version: 2022022301 Olm version: 3.2.8
How did you install the app?
aur
Homeserver
1.52
Will you send logs?
No
Metadata
Metadata
Assignees
Labels
A-Room-ViewA-Slash-CommandsHacktoberfestIssues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/Help WantedExtra attention is neededExtra attention is neededO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defectgood first issueGood for newcomersGood for newcomers