Skip to content

Checking a box in an issue description consistently throws an error

What does this MR do?

CommonMark can create "tight lists" and "loose lists" (which have <li> content wrapped in <p> tags). We were using too strong a selector when looking for the checkbox.

Changed this

html.css(".task-list-item[data-sourcepos^='#{line_number}:'] > input.task-list-item-checkbox").first

to

html.css(".task-list-item[data-sourcepos^='#{line_number}:'] input.task-list-item-checkbox").first

What are the relevant issue numbers?

Closes #57604 (closed)

Does this MR meet the acceptance criteria?

Edited by Brett Walker

Merge request reports