question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 image 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:closed
  • Created a year ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
caronccommented, Apr 20, 2022

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!

0reactions
caronccommented, Apr 20, 2022

New version pushed to PyPi; we should be back in business.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found