element-hq / element-hq/element-web

Using `/plain` and including a matrix.to link converts URL to a pill

Open
#25,830 1 comment 1 reaction 0 assignees View on GitHub
A-Pills O-Uncommon S-Minor T-Defect X-Needs-Product
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Write a message like `/plain [my room](https://matrix.to/#/#room:example.org)`
2. Send it

### Outcome

#### What did you expect?

The link to be a bare link in the rendered event, as my intention was to allow someone an ability to copy/paste the text verbatim as it gets shared off-platform via TWIM. When using `/plain`, the link should not be converted to a pill as it interrupts copy/paste and the original intention.

#### What happened instead?
This:
![image](https://github.com/vector-im/element-web/assets/1190097/55fcefec-9fad-4692-9323-5d08391c8314)

### Operating system

Windows 11

### Application version

Element Nightly version: 0.0.1-nightly.2023072001 Olm version: 3.2.14

### How did you install the app?

The Internet

### Homeserver

t2l.io

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