Skip to content

Regression: List items are copied with too much space #1684

@fxha

Description

@fxha

Description

List item are copied with too much space between list item marker (e.g. -) and first text character if you select multiple list items or copy the whole list.

Steps to reproduce

Paste expected behavior, copy the whole list in preview editor and past it into another editor.

Expected behavior:

- [ ] foo
  - [ ] bar
  - [ ] bar
- [ ] foo

---

- foo
  - bar
  - bar
- foo

Actual behavior:

-   [ ] foo
    -   [ ] bar
    -   [ ] bar
-   [ ] foo

---

-   foo
    -   bar
    -   bar
-   foo

Versions

  • Mark Text: develop
  • Operating system: all

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions