deckar01 / task_list

Markdown Task List feature components
MIT License
9 stars 7 forks source link

Double List Bug #5

Open deckar01 opened 7 years ago

deckar01 commented 7 years ago

From @kyletolle on March 20, 2015 16:3

I have a list that's structured like this. I'm trying to use checkboxes in an unordered list.

- One
  - - [ ] A
  - - [ ] B
- Two
  - - [ ] C
  - - [ ] D

Here it is, rendered:

And it renders properly with checkboxes indented in the list. So that's cool.

But what doesn't work is checking any of the boxes from the web UI.

I check the box and it shows the checkmark when I have the mouse pressed down. But when I let up, there check box is blank again. No errors in the Chrome dev console.

Using Chrome Version 41.0.2272.89 (64-bit) on OS X 10.10.2.

My workaround for this is to edit the comment and manually change it from - [ ] to - [x].

Thanks for your help.

_Copied from original issue: github-archive/tasklist#56

deckar01 commented 7 years ago

Reproduced on master. The first dash should start a list item and the rest should be treated as text.

deckar01 commented 7 years ago

Although GitHub renders - - text as <ul><li><ul><li>text</li>..., that does not appear to be standard markdown behavior. Since GitLab does not support doubled lists, I am going to punt this for now.