From 29aa1c9083eeaa38a317d0528a50b1c0eb23a5c4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 6 Oct 2021 11:38:22 +0200 Subject: [PATCH] fdsfds --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 1909aca338..aeb21a1e98 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -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), "")