telegram does not like <br>
This commit is contained in:
parent
d88dbaf8b7
commit
6018def64d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def announce_items():
|
|||
preview_description=description,
|
||||
)
|
||||
if getattr(settings, "TELEGRAM_ANNOUNCE_CHANNEL"):
|
||||
message = f'{item.title}<br><a href="{link}">{link}</a>'
|
||||
message = f'{item.title}\n<a href="{link}">{link}</a>'
|
||||
r = telegram_rpc.send(
|
||||
message,
|
||||
channel=settings.TELEGRAM_ANNOUNCE_CHANNEL,
|
||||
|
|
Loading…
Reference in a new issue