From 13931906b91e82f142badf9d90dbd75ce7f0c504 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 20 Apr 2024 22:18:57 +0200 Subject: [PATCH] limit scale to 9 --- 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 70917c511..a3a6a024f 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -159,7 +159,7 @@ pronouns_regex = re.compile("(\w{1,7})\/\w{1,7}(\/\w{1,7})?", flags=re.A) html_title_regex = re.compile("(.{1,200})", flags=re.I) -excessive_css_scale_regex = re.compile("scale\([^)]*?(\d{3})", flags=re.A) +excessive_css_scale_regex = re.compile("scale\([^)]*?(\d{2})", flags=re.A) commands = { "fortune": FORTUNE_REPLIES,