Skip to content

Regression: Loose task list items are copied wrong #1683

@fxha

Description

@fxha

Description

Loose task list sub-items are copied wrong.

Steps to reproduce

Paste example below and copy the whole list and paste it into (another) editor.

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

- [ ] foo

Expected behavior:

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

- [ ] foo

Actual behavior:

-   [ ] 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