Escape asterisks in ufora notifications

This commit is contained in:
Stijn De Clercq 2022-01-21 20:33:59 +01:00
parent 8b99835f81
commit e3a788f6c9

View file

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