Escape asterisks in ufora notifications

pull/106/head
Stijn De Clercq 2022-01-21 20:33:59 +01:00
parent 8b99835f81
commit e3a788f6c9
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ class UforaNotification:
return desc return desc
def _clean_content(self, text: str): def _clean_content(self, text: str):
# Escape *-characters because they mess up the layout
text = text.replace("*", "\\*")
return md(text) return md(text)
def _get_published(self): def _get_published(self):