This commit is contained in:
Aevann1 2021-10-06 02:18:58 +02:00
parent 178552f42d
commit 07ee7d5857
2 changed files with 12 additions and 1 deletions

View file

@ -733,7 +733,7 @@ def submit_post(v):
body = re.sub('([^\n])\n([^\n])', r'\1\n\n\2', body)
options = []
for i in re.finditer('\s*\$([^\$]+)\$\s*', body):
for i in re.finditer('\s*\$([^\$\n]+)\$\s*', body):
options.append(i.group(1))
body = body.replace(i.group(0), "")