This commit is contained in:
Aevann1 2021-10-06 11:03:39 +02:00
parent 4a365f8e41
commit 306bfd478d
4 changed files with 82 additions and 116 deletions

View file

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