forked from MarseyWorld/MarseyWorld
dfsfds
parent
a1e4da3964
commit
250708807a
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue