Skip to content

Commit 95ff9cf

Browse files
authored
fix: should not support blockquote in list (#1730)
1 parent a9ebbc1 commit 95ff9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/plugins/preset-commonmark/src/node/list-item.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ withMeta(listItemAttr, {
2121
/// Schema for list item node.
2222
export const listItemSchema = $nodeSchema('list_item', (ctx) => ({
2323
group: 'listItem',
24-
content: '(paragraph|blockquote) block*',
24+
content: 'paragraph block*',
2525
attrs: {
2626
label: {
2727
default: '•',

0 commit comments

Comments
 (0)