mirror of https://github.com/stijndcl/didier
Escape asterisks in ufora notifications
parent
8b99835f81
commit
e3a788f6c9
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue