mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
formatting
This commit is contained in:
parent
00952197d1
commit
acebf8610c
@ -49,7 +49,9 @@ def get_markdown(text):
|
||||
|
||||
# Search for markdown that creates a clickable link and remove the undesirable ones
|
||||
pattern = re.compile(r"(\[[\s\S]*?\])\(([\w]*?):([\s\S]*?)\)", flags=re.MULTILINE)
|
||||
rerun_scheme_check = True # Used to decide if a re-check should be done after last pass
|
||||
rerun_scheme_check = (
|
||||
True # Used to decide if a re-check should be done after last pass
|
||||
)
|
||||
while rerun_scheme_check:
|
||||
has_illegal_scheme = False
|
||||
for m in re.finditer(pattern, text):
|
||||
|
Loading…
x
Reference in New Issue
Block a user