-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
L1 - brokenValid usage causes incorrect output OR a crash AND there is no known workaround for the issueValid usage causes incorrect output OR a crash AND there is no known workaround for the issuecategory: listsgood first issueSomething easy to get started withSomething easy to get started withreleased
Description
Marked version:
1.2.3
Describe the bug
Even when gfm: false, task lists are rendered.
To Reproduce
Steps to reproduce the behavior:
- Setup options with
gfm: false. - Render the following:
Unordered:
- [ ] A
- [ ] B
- [ ] C
Ordered:
1. [ ] A
2. [ ] B
3. [ ] C
A | B
--|--
1 | 2
3 | 4
5 | 6
- Confirm that the table is not rendered, but the task list is rendered:
Here's some demos:
Expected behavior
Task lists are only an extension of GFM, so I would expect the output to match CommonMark by using the [ ] as part of the rendered text:
ApayRus
Metadata
Metadata
Assignees
Labels
L1 - brokenValid usage causes incorrect output OR a crash AND there is no known workaround for the issueValid usage causes incorrect output OR a crash AND there is no known workaround for the issuecategory: listsgood first issueSomething easy to get started withSomething easy to get started withreleased

