Skip to content

Commit

Permalink
fix: update blockquote regex to split list
Browse files Browse the repository at this point in the history
Fixed #165
  • Loading branch information
jiawei686 authored and humyfred committed May 6, 2022
1 parent 9c626b6 commit 8b86eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/hooks/Blockquote.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default class Blockquote extends ParagraphBase {
begin: '(?:^|\\n)(\\s*)',
content: [
'(',
'>(?:.+?\n)(?:>*.+?\n)*(?:>*.+?)', // multiline
'>(?:.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))(?:>*.+?\\n(?![*+-]|\\d+[.]|[a-z]\\.))*(?:>*.+?)', // multiline
'|', // or
'>(?:.+?)', // single line
')',
Expand Down

0 comments on commit 8b86eb3

Please sign in to comment.