mirror of https://github.com/caronc/apprise
Removed HTML escaping for Telegram TEXT handling (#383)
parent
6eaa8e150d
commit
3938cd9ec3
|
@ -549,11 +549,6 @@ class NotifyTelegram(NotifyBase):
|
|||
|
||||
else: # TEXT
|
||||
payload['parse_mode'] = 'HTML'
|
||||
|
||||
# Escape content
|
||||
title = NotifyTelegram.escape_html(title, whitespace=False)
|
||||
body = NotifyTelegram.escape_html(body, whitespace=False)
|
||||
|
||||
payload['text'] = '{}{}'.format(
|
||||
'<b>{}</b>\r\n'.format(title) if title else '',
|
||||
body,
|
||||
|
|
Loading…
Reference in New Issue