Skip to content

Wrong padding when copying a loose list into a tight list #706

Closed

Description

@fxha

Description

When pasting a list from a different type (loose/tight) into another list, the list types are mixed.

  • Can you reproduce the issue?

Steps to reproduce

  1. Create tight list:
- a
- b
- c
  1. Copy following text:
- d

- e

- f
  1. Set cursor behind b and paste the loose list into tight list.

Expected behavior:

Either a loose or tight list:

- a

- bd

- c

- e

- f

or

- a
- bd
- c
- e
- f

Actual behavior:

- a
- bd
- c

- e

- f

Versions

  • Mark Text: v0.13.65
  • Operating system: all

Activity

  1. added
    🐛 bug
    on Mar 1, 2019
  2. self-assigned this
    on Mar 1, 2019
  3. Jocs commented on Mar 3, 2019

    @Jocs
    Member

    I think copying a loose list to a tight list, or vice versa, the result should be a loose list.

  4. added a commit that references this issue on Mar 3, 2019
    7fc67f6
  5. added a commit that references this issue on Jun 21, 2026
    a17124e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🐛 bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions