element-hq / element-hq/element-web

Desktop notifications display raw HTML for pills

Open
#28,125 0 comments 0 reactions 0 assignees View on GitHub
A-Notifications A-Pills O-Frequent S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Log in & enable desktop notifications
2. Get a message with a pill in it that causes a notification

### Outcome

#### What did you expect?
Probably the notif to just display the name in the pill as text.

#### What happened instead?
Raw HTML of the pill in the notification.

### Operating system

macOS

### Application version

_No response_

### How did you install the app?

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on macOS with desktop notifications enabled, then send a message containing a pill and inspect the notification rendering path. The fix is complete when the notification displays the pill's name as plain text rather than its raw HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.