nicer and more efficient sanitisation

This commit is contained in:
Jack Byrne 2022-09-10 18:56:13 +01:00 committed by Ben Rog-Wilhelm
parent 8c7c76feb6
commit 1b9f7860c5
3 changed files with 14 additions and 4 deletions

View file

@ -396,9 +396,9 @@ class Submission(Base):
@lazy
def realtitle(self, v):
if self.title_html:
return self.title_html
return self.title_html
else:
return self.title
return self.title
@lazy
def plaintitle(self, v):