Browse Source

Removed HTML escaping for Telegram TEXT handling (#383)

pull/384/head
Chris Caron 4 years ago committed by GitHub
parent
commit
3938cd9ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      apprise/plugins/NotifyTelegram.py

5
apprise/plugins/NotifyTelegram.py

@ -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…
Cancel
Save