tgbot-collection/archiver

Underscore in URLs

kachkaev opened this issue ยท 2 comments

๐Ÿ‘‹ @BennyThink, great bot ๐Ÿคฉ

I noticed a small issue with underscores in URLs and decided to share. They are treated as the control character for italics and this breaks the markup. Here is an example:

Screenshot 2022-08-20 at 17 10 12

As you can see, https://en.wikipedia.org/wiki/Main_Page becomes https://en.wikipedia.org/wiki/MainPage and https://web.archive.org/web/20220820154818/https://en.wikipedia.org/wiki/Main_Page turns into
https://web.archive.org/web/20220820154818/https://en.wikipedia.org/wiki/MainPage.

Hope that this is fixable and thanks for this handy bot again!

Thanks for sharing. Will fix later

image

fixed!