forked from rDrama/rDrama
remove oudated slur filter
parent
8a9b64de0a
commit
19c14d3e64
|
@ -369,8 +369,7 @@ class Comment(Base):
|
||||||
if not body: return ""
|
if not body: return ""
|
||||||
|
|
||||||
if not (self.parent_submission and self.post.sub == 'chudrama'):
|
if not (self.parent_submission and self.post.sub == 'chudrama'):
|
||||||
body = censor_slurs(body, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:') \
|
body = censor_slurs(body, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:')
|
||||||
.replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseysleep:" title=":marseysleep:" src="/e/marseysleep.webp">', ':marseysleep:')
|
|
||||||
|
|
||||||
return body
|
return body
|
||||||
|
|
||||||
|
|
|
@ -322,8 +322,7 @@ class Submission(Base):
|
||||||
if not body: return ""
|
if not body: return ""
|
||||||
|
|
||||||
if self.sub != 'chudrama':
|
if self.sub != 'chudrama':
|
||||||
body = censor_slurs(body, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:') \
|
body = censor_slurs(body, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:')
|
||||||
.replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseysleep:" title=":marseysleep:" src="/e/marseysleep.webp">', ':marseysleep:')
|
|
||||||
|
|
||||||
body = normalize_urls_runtime(body, v)
|
body = normalize_urls_runtime(body, v)
|
||||||
|
|
||||||
|
@ -343,8 +342,7 @@ class Submission(Base):
|
||||||
title = self.title
|
title = self.title
|
||||||
|
|
||||||
if self.sub != 'chudrama':
|
if self.sub != 'chudrama':
|
||||||
title = censor_slurs(title, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:') \
|
title = censor_slurs(title, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:')
|
||||||
.replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseysleep:" title=":marseysleep:" src="/e/marseysleep.webp">', ':marseysleep:')
|
|
||||||
|
|
||||||
return title
|
return title
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,6 @@ if SITE_NAME == 'rDrama':
|
||||||
"it's almost like": "I'm a retard but",
|
"it's almost like": "I'm a retard but",
|
||||||
"my brother in christ": "my brother in Allah",
|
"my brother in christ": "my brother in Allah",
|
||||||
"kyle": "Kylie",
|
"kyle": "Kylie",
|
||||||
"twitter files": 'twitter files <img loading="lazy" data-bs-toggle="tooltip" alt=":marseysleep:" title=":marseysleep:" src="/e/marseysleep.webp">',
|
|
||||||
" cool (?!it)": " fetch ",
|
" cool (?!it)": " fetch ",
|
||||||
"krayon": "krayon (sister toucher)",
|
"krayon": "krayon (sister toucher)",
|
||||||
"discord": "groomercord",
|
"discord": "groomercord",
|
||||||
|
|
Loading…
Reference in New Issue