element-hq / element-hq/element-web

Non-empty message appears empty

Open
#16,722 8 comments 2 reactions 0 assignees View on GitHub
A-Timeline O-Uncommon S-Major T-Defect Z-t3chguy
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Description

The content of a non-empty text message appears as empty.

Viewing the source of the message shows its content, and other clients show the message properly (tested with Element Android, Fractal, and FluffyChat).

![emptyMessage](https://user-images.githubusercontent.com/8988672/111705618-641a4280-8817-11eb-8d16-21a13bb801e2.png)

### Steps to reproduce

Unknown, but here are a few properties of the message that may have caused this:
- It's an edit
- Its `formatted_body` (both the original and the edit) uses `'` as an apostrophe character, in two locations
- It was a Discord message bridged by `matrix-appservice-discord` (though this shouldn't be any fault of the bridge)

### Version information

- **Platform**: web
- **Browser**: Firefox 86.0
- **OS**: Windows 10 & Fedora 33 (Workstation Edition)
- **URL**: app.element.io & self-hosted client on versions 1.7.22 & 1.7.23

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.