Fix text parsing issues #9

Merged
kenkeiras merged 4 commits from fix/require-whitespace-for-list-item-tag-separator into develop 2024-09-01 12:10:26 +00:00
Showing only changes of commit 4af4cda44b - Show all commits

View File

@ -1911,7 +1911,12 @@ def tokenize_contents(contents: str) -> List[TokenItems]:
continue
# Possible link close or open of description
if char == "]" and len(contents) > i + 1 and in_link and contents[i + 1] in "][":
if (
char == "]"
and len(contents) > i + 1
and in_link
and contents[i + 1] in "]["
):
if contents[i + 1] == "]":
cut_string()