element-hq / element-hq/element-web

`\` forces html formatting without `\n` to `<br>` conversion

Open
#25,891 5 comments 0 reactions 0 assignees View on GitHub
A-Composer O-Uncommon S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Send
```
a \ >
b
```

### Outcome

#### What did you expect?
The text is rendered in two lines.

#### What happened instead?
`a \ > b`
However this behavior is only visible when the text contains a character that is escaped to entities like `>`. Element 1.11.29 renders the test case in 2 lines, but I'm guessing this behavior is even more broken.

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

_No response_

### Application version

Element version: 1.11.36 Olm version: 3.2.14

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.