Skip to content

Commit

Permalink
Removed HTML escaping for Telegram TEXT handling (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed May 2, 2021
1 parent 6eaa8e1 commit 3938cd9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apprise/plugins/NotifyTelegram.py
Expand Up @@ -549,11 +549,6 @@ def send(self, body, title='', notify_type=NotifyType.INFO, attach=None,

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,
Expand Down

0 comments on commit 3938cd9

Please sign in to comment.