You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Desktop, Mobile: Resolves #1832: Only support checkboxes that start with a dash
This commit is contained in:
@ -83,7 +83,8 @@ function installRule(markdownIt, mdOptions, ruleOptions, context) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (currentListItem && !processedFirstInline && token.type === 'inline') {
|
||||
// Note that we only support list items that start with "-" (not with "*")
|
||||
if (currentListItem && currentListItem.markup === '-' && !processedFirstInline && token.type === 'inline') {
|
||||
processedFirstInline = true;
|
||||
const firstChild = token.children && token.children.length ? token.children[0] : null;
|
||||
if (!firstChild) continue;
|
||||
|
Reference in New Issue
Block a user