From 28ed629647a5b79b5d046fb0e8bac0daed6ba887 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 26 Feb 2023 12:36:53 +0200 Subject: [PATCH] add comment --- files/helpers/sanitize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 0b2c30bd8..25917fef0 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -516,6 +516,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys parse_email=False, callbacks=[callback], url_re=url_re)] ).clean(sanitized) + #doing it again cuz of the linkifyfilter right above it soup = BeautifulSoup(sanitized, 'lxml') links = soup.find_all("a")