Removed HTML escaping for Telegram TEXT handling (#383)

pull/384/head
Chris Caron 2021-05-02 10:42:39 -04:00 committed by GitHub
parent 6eaa8e150d
commit 3938cd9ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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,