From 5e6ebb35997462283bf63fb7ec16ce0f402aabd3 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Sep 2023 03:32:22 +0300 Subject: [PATCH] only add ?context=8 to comment links --- files/helpers/regex.py | 1 + files/helpers/sanitize.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index cd3813442..fef4e496b 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -232,6 +232,7 @@ asset_image_link_regex = re.compile(f"https:\/\/(i\.)?{SITE}\/assets\/images\/[\ #sanitizing reddit_mention_regex = re.compile('(?