element-hq / element-hq/element-web
Sending markdown with a horizontal rule does not work with rich text editor
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Enable rich text editor in labs
2. Open any room
3. Turn composer formatting off 
4. Send
```
This is
---
a test
```
### Outcome
#### What did you expect?
Message send
#### What happened instead?
Message not send
Error in console:
```
MessageComposer.tsx:351 Uncaught (in promise) could not create dom from html
```
### Operating system
_No response_
### Application version
Element Nightly version: 2023081001 Olm version: 3.2.14
### How did you install the app?
_No response_
### Homeserver
_No response_
### Will you send logs?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.