Skip to content

Commit

Permalink
Use english name, not type name, in comments
Browse files Browse the repository at this point in the history
Co-authored-by: Titus <tituswormer@gmail.com>
Signed-off-by: Rob Brackett <rob@robbrackett.com>
  • Loading branch information
Mr0grog and wooorm authored Sep 6, 2023
1 parent 9f3d078 commit cecef82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/li.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function li(state, node) {
let clone

// Check if this node starts with a checkbox (or a paragraph that starts with
// a checkbox), indicating the list item is a GFM TaskListItem.
// a checkbox), indicating the list item is a GFM task list item.
let checkboxParent = node
let checkbox = node.children[0]
if (checkbox && checkbox.type === 'element' && checkbox.tagName === 'p') {
Expand Down

0 comments on commit cecef82

Please sign in to comment.