Skip to content

Pasting in CRLF mode adds extra empty lines #408

@atnbueno

Description

@atnbueno

What happened?

When I paste text in CRLF mode extra empty lines are added. It adds more empty lines if the pasted text uses CRLF than if it uses just LF.

See the issue in this video:
https://files.mastodon.social/media_attachments/files/114/981/067/396/068/740/original/591e74a2474543a8.mp4

Originally "reported" at https://mastodon.social/@atnbueno/114981075895667559

What are the steps to reproduce?

Copy some text in LF mode. Convert to CRLF mode. Paste the copied text and empty lines appear (see video linked above).

What is the expected behavior?

Not add empty lines that weren't there :-)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions