forked from rDrama/rDrama
dont convert username to lowercase for !YOU!
parent
39bb04bdb8
commit
b93bf4daae
|
@ -351,7 +351,7 @@ class Submission(Base):
|
||||||
title = censor_slurs(title, v)
|
title = censor_slurs(title, v)
|
||||||
|
|
||||||
if v:
|
if v:
|
||||||
title = title.replace("!YOU!", v.username.lower())
|
title = title.replace("!YOU!", v.username)
|
||||||
|
|
||||||
return title
|
return title
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ class Submission(Base):
|
||||||
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:')
|
||||||
|
|
||||||
if v:
|
if v:
|
||||||
title = title.replace("!YOU!", v.username.lower())
|
title = title.replace("!YOU!", v.username)
|
||||||
|
|
||||||
return title
|
return title
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue