master
Aevann1 2021-10-12 07:27:21 +02:00
parent a1e4da3964
commit 250708807a
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def api_comment(v):
for i in re.finditer('^(https:\/\/.*\.(png|jpg|jpeg|gif|webp|PNG|JPG|JPEG|GIF|WEBP|9999))', body, re.MULTILINE):
if "wikipedia" not in i.group(1): body = body.replace(i.group(1), f'![]({i.group(1)})')
body = re.sub('([^\n])\n([^\n])', r'\1\n\n\2', body)
# body = re.sub('([^\n])\n([^\n])', r'\1\n\n\2', body)
body_md = body
options = []