From e384356b3310360ae00385eb0f28ca534f65c05e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 22 Apr 2022 21:41:37 +0200 Subject: [PATCH] fsd --- files/helpers/const.py | 4 ++-- files/templates/header.html | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 44917497ae..f94c93ac78 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -738,8 +738,8 @@ email_regex = re.compile('([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z| utm_regex = re.compile('utm_[a-z]+=[a-z0-9_]+&', flags=re.A) utm_regex2 = re.compile('[?&]utm_[a-z]+=[a-z0-9_]+', flags=re.A) -slur_regex = re.compile(f"({single_words})(?![^<]*<\/(a|img))", flags=re.I|re.A) -slur_regex_upper = re.compile(f"({single_words.upper()})(?![^<]*<\/(a|img))", flags=re.A) +slur_regex = re.compile(f"({single_words})(?![^<]*>)", flags=re.I|re.A) +slur_regex_upper = re.compile(f"({single_words.upper()})(?![^<]*>)", flags=re.A) torture_regex = re.compile('(^|\s)(i|me) ', flags=re.I|re.A) torture_regex2 = re.compile("(^|\s)i'm ", flags=re.I|re.A) diff --git a/files/templates/header.html b/files/templates/header.html index e2042e81cd..9f61c9490c 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -161,11 +161,7 @@
- {% if SITE_NAME == 'rDrama' %} - Android app - {% else %} - Android app - {% endif %} + Android app Changelog @@ -227,11 +223,7 @@ {% endif %} - {% if SITE_NAME == 'rDrama' %} - Android app - {% else %} - Android app - {% endif %} + Android app Source code