Skip to content

Commit

Permalink
more bullet point stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
iammosespaulr committed Dec 2, 2024
1 parent 67915ff commit b85e3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marker/schema/blocks/listitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def replace_bullets(child_blocks):
child_blocks = first_block.children

if first_block is not None and first_block.id.block_type == BlockTypes.Line:
bullet_pattern = r"(^|[\n ]|<[^>]*>)[•●○ഠ ം■▪▫–—-]( )"
bullet_pattern = r"(^|[\n ]|<[^>]*>)[•●○ഠ ം■▪▫–—-]( )"
first_block.html = re.sub(bullet_pattern, r"\1\2", first_block.html)


Expand Down

0 comments on commit b85e3b9

Please sign in to comment.