Fix formatting.
All checks were successful
All checks were successful
This commit is contained in:
parent
5552b3324b
commit
4af4cda44b
@ -1911,7 +1911,12 @@ def tokenize_contents(contents: str) -> List[TokenItems]:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# Possible link close or open of description
|
# 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] == "]":
|
if contents[i + 1] == "]":
|
||||||
cut_string()
|
cut_string()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user