task-lists-element
task-lists-element copied to clipboard
Update logic for determining list position
Fixes https://github.com/github/issues-graph/issues/825
This PR adjusts the logic used to calculate the positioning of lists within a comment to satisfy additional ul
and ol
usage.
See linked issue for additional context.
You may want to double-check these combos:
- Nested tasklists
- Nested mixes of checklists and tasklists
- Tasklists/checklists within HTML tables (not MD tables)
- Nested tasklists within HTML tables
You may want to double-check these combos:
- Nested tasklists
- Nested mixes of checklists and tasklists
- Tasklists/checklists within HTML tables (not MD tables)
- Nested tasklists within HTML tables
Tested the above to confirm that no functionality was lost. The current implementation of a tasklist
remains encapsulated so shouldn't be adversely affected by the new positioning logic when support for nesting w/in tasklists is added. 👍