@@ -58,7 +58,7 @@ const html = edit(
58
58
const paragraph = edit ( _paragraph )
59
59
. replace ( 'hr' , hr )
60
60
. replace ( 'heading' , ' {0,3}#{1,6}(?:\\s|$)' )
61
- . replace ( '|lheading' , '' ) // setex headings don't interrupt commonmark paragraphs
61
+ . replace ( '|lheading' , '' ) // setext headings don't interrupt commonmark paragraphs
62
62
. replace ( '|table' , '' )
63
63
. replace ( 'blockquote' , ' {0,3}>' )
64
64
. replace ( 'fences' , ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n' )
@@ -117,7 +117,7 @@ const blockGfm: Record<BlockKeys, RegExp> = {
117
117
paragraph : edit ( _paragraph )
118
118
. replace ( 'hr' , hr )
119
119
. replace ( 'heading' , ' {0,3}#{1,6}(?:\\s|$)' )
120
- . replace ( '|lheading' , '' ) // setex headings don't interrupt commonmark paragraphs
120
+ . replace ( '|lheading' , '' ) // setext headings don't interrupt commonmark paragraphs
121
121
. replace ( 'table' , gfmTable ) // interrupt paragraphs with table
122
122
. replace ( 'blockquote' , ' {0,3}>' )
123
123
. replace ( 'fences' , ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n' )
0 commit comments