element-hq / element-hq/element-web
/spoiler command does not convert to html
Open
A-Room-View
A-Slash-Commands
good first issue
Hacktoberfest
Help Wanted
O-Uncommon
S-Minor
T-Defect
Z-ProductPolish
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
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": "spoilery text"`
### 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
Contributor guide
Assessment
This issue has not been assessed yet.