Skip to content

Markdown tasklist does not preserve checkbox state on "Edit" #24253

Open
@silverwind

Description

@silverwind

Description

Steps to reproduce:

  1. Create issue comment with - [ ].
  2. Click Edit
  3. Click Cancel
  4. Click the checkbox
  5. Click Edit

Checkbox is incorrectly unchecked in markdown source:

image

Screenshot 2023-04-21 at 12 42 53

Gitea Version

main

Can you reproduce the bug on the Gitea demo site?

Yes

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