Skip to content

Checkbox cannot be toggled if [x] is lowercase #11046

@ambevill

Description

@ambevill

Search first

  • I searched and no similar issues were found

What Happened?

A list with [x] (lower case) renders as a checkbox (same as [X]) but cannot be toggled by clicking.

Reproduce the Bug

  1. Enter a block with lower case [x] checkbox, e.g.
- In a checklist:
	* [X] This is a normal checkbox with [X]. It can be toggled.
	* [x] This checkbox accidentally has a lowercase [x]. It cannot be toggled.
  1. Attempt to toggle the checkbox. It does not toggle.

Expected Behavior

Either

  1. Toggle [x] in the same way as [X], or
  2. Do not render [x] as a checkbox

Screenshots

2024-02-25_19h17_05.mp4

Desktop or Mobile Platform Information

Windows 11, Android

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    parserMarkdown/Org parser related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions