Skip to content

Commit

Permalink
Merge pull request #358 from vadim-or/vadim-or/fix-list-parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Oct 5, 2023
2 parents 46043f7 + b950c96 commit 5820e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mistune/list_parser.py
Expand Up @@ -13,7 +13,7 @@
r'(?P<list_3>[ \t]*|[ \t].+)$'
)

_LINE_HAS_TEXT = re.compile(r'( *)\S')
_LINE_HAS_TEXT = re.compile(r'(\s*)\S')


def parse_list(block, m: re.Match, state: BlockState) -> int:
Expand Down

0 comments on commit 5820e47

Please sign in to comment.