This commit is contained in:
Aevann1 2021-11-04 17:12:17 +02:00
parent 90b6482e57
commit fe551f0700
15 changed files with 132 additions and 14 deletions

View file

@ -316,6 +316,7 @@ class Submission(Base):
if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")
if v and v.nitter: body = body.replace("www.twitter.com", "nitter.net").replace("twitter.com", "nitter.net")
if self.author.sig_html: return body + '<hr>' + self.author.sig_html
return body
def plainbody(self, v):