Skip to content

Commit

Permalink
fix: bypass non-accurate test
Browse files Browse the repository at this point in the history
  • Loading branch information
shaokeyibb committed Jul 9, 2024
1 parent 459e301 commit 627f774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-markdown-extension/test/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def handle_starttag(self, tag, attrs):
attr[0] == "data-offset-accurate-start"
or attr[0] == "data-offset-accurate-end"
):
if attr[1] == bool(attr[1]):
if not bool(attr[1]):
break
if attr[0] == "data-original-document-start":
start = int(attr[1])
Expand Down

0 comments on commit 627f774

Please sign in to comment.