mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Escape asterisks in ufora notifications
This commit is contained in:
parent
8b99835f81
commit
e3a788f6c9
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue