This commit is contained in:
Aevann1 2021-09-24 05:02:14 +02:00
parent 73797d5b1d
commit caed0f47a5

View file

@ -283,8 +283,10 @@ class Comment(Base):
body = self.body_html
if not body: return ""
if not v or v.slurreplacer:
for s,r in SLURS.items(): body = body.replace(s, r)
for s, r in SLURS.items(): body = body.replace(s, r)
if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")