element-hq / element-hq/element-web

Incorrect escaping of characters in code blocks.

Open
#31,694 1 comment 2 reactions 0 assignees View on GitHub
A-Composer A-Markdown O-Uncommon S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Post a message to chat in code block starting with three `.

Example:

```rust
>k::Label
```

### Outcome

#### What did you expect?

Element properly shows code block:

```rust
>k::Label
```

#### What happened instead?

Element turns the above code to:

```
>k::Label
```

Image

### Operating system

Linux

### Application version

1.12.7

### How did you install the app?

via deb repository (element-desktop package)

### 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.