Telegram uses text format when HTML is passed
See original GitHub issue📣 Notification Service(s) Impacted Telegram
🐞 Describe the bug
Passing HTML as format is ignored and message is sent as plain text instead.
Appending ?format=html
to URL works around the issue.
See issue and comment: https://github.com/dgtlmoon/changedetection.io/issues/533#issuecomment-1093256664
💡 Screenshots and Logs
Both notifications were sent when HTML is passed. First was sent with normal tgram://
URL, second after adding ?format=html
.
💻 Your System Details:
dgtlmoon/changedetection.io
docker image.
🔮 Additional context
Title:
🚨 Change detected for <i>{watch_title}</i>
Body:
<a href="{watch_url}"><i>{watch_title}</i></a> had <a href="{diff_url}">a change</a>
Issue Analytics
- State:
- Created a year ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
send bold & italic text on telegram bot with html - Stack Overflow
To send bold: Set the parse_mode to markdown and send *bold*; Set the parse_mode to html and send <b>bold</b>. To send italic:.
Read more >Telegram messages with html format - Traccar
Hi Guys, is it possible to send an alarm message (SOS) using html format with telegram notificator?. I know that telegram support only...
Read more >Text - A guide to Telegram.Bot library - GitHub Pages
Telegram allows you to format the text using Markdown or HTML. Send Text Message. The code snippet below sends a message with multiple ......
Read more >sendMessage - Telegram Bot API - PHP SDK
The Bot API supports basic formatting for messages. You can use bold and italic text, as well as inline links and pre-formatted code...
Read more >Telegram Text Formatting: Tips, Font Tricks, and Shortcuts
Learn how to make your messages and posts more readable and expressive with Telegram text formatting tips and tricks.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just realized i didn’t fix the test cases; so they’re all going to break in the last merge. Just updating that now. Hopefully will get you a 9.8.1 version very shortly to use.
Thank you for reporting this!
New version pushed to PyPi; we should be back in business.