From 972578e74a5daea46f2b3c6b47a3a503687da187 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 1 Nov 2022 02:04:37 +0200 Subject: [PATCH] allow poetrysperg to skip the linefeeds thing --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index e6a826307..c2de8e41f 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -89,7 +89,7 @@ css_url_regex = re.compile('url\(\s*[\'"]?(.*?)[\'"]?\s*\)', flags=re.I|re.A) procoins_li = (0,2500,5000,10000,25000,50000,100000,250000) -linefeeds_regex = re.compile("([^\n])\n([^\n])", flags=re.A) +linefeeds_regex = re.compile("([^\n ])\n([^\n])", flags=re.A) greentext_regex = re.compile("(\n|^)>([^ >][^\n]*)", flags=re.A)