element-hq / element-hq/element-web

Quoting one line will quote the following line as well unless there's an empty line in-between

Open
#16,069 2 comments 3 reactions 0 assignees View on GitHub
A-Composer P3 S-Minor T-Defect Z-Upstream
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Description

When quoting a line in the message to be sent by prepending the > character, the following line will also be quoted unless it's an empty newline.

### Steps to reproduce

Write a message line the following:
```
> This is the line I want to quote
This is a line I don't want quoted.
```

What I expect is to see only the first line quoted. What I see instead is:

![Screenshot_20210104_174419](https://user-images.githubusercontent.com/16254070/103558209-983ac400-4eb4-11eb-8dbb-ec12a25b5d36.png)

A work-around is inserting an empty line in-between, like so:

```
> This is the line I want to quote

This is a line I don't want quoted.
```

This trips me up constantly...

### Version information

- **Platform**: desktop app

For the desktop app:

- **OS**: Linux openSuse tumbleweed
- **Version**: 1.7.16

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.