Title: [BUG] text_markdown_urled breaks links that contain '_' · Issue #1654 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: [BUG] text_markdown_urled breaks links that contain '_' · Issue #1654 · python-telegram-bot/python-telegram-bot
X Title: [BUG] text_markdown_urled breaks links that contain '_' · Issue #1654 · python-telegram-bot/python-telegram-bot
Description: Seems that TG servers are escaping '_' in links by default, yet the library functions blindly replace it by '\ _'. Try it out - 'https://site_name.com' becomes 'https: // site \ _name.com' after msg.text_markdown_urled or msg.caption_mar...
Open Graph Description: Seems that TG servers are escaping '_' in links by default, yet the library functions blindly replace it by '\ _'. Try it out - 'https://site_name.com' becomes 'https: // site \ _name.com' after ms...
X Description: Seems that TG servers are escaping '_' in links by default, yet the library functions blindly replace it by '\ _'. Try it out - 'https://site_name.com' becomes 'https: /...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/1654
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] text_markdown_urled breaks links that contain '_'","articleBody":"Seems that TG servers are escaping '_' in links by default, yet the library functions blindly replace it by '\\ _'.\r\n\r\nTry it out - 'https://site_name.com' becomes 'https: // site \\ _name.com' after \r\nmsg.text_markdown_urled or\r\nmsg.caption_markdown_urled\r\n\r\nCurrent tests miss exactly this case\r\n\r\n----\r\nGuess tomorrow I'll write and commit my solution, need this for work anyway. The simpliest one is to get final urled string and replace '\\_' by '_' inside the url clauses.","author":{"url":"https://github.com/moonbaseDelta","@type":"Person","name":"moonbaseDelta"},"datePublished":"2019-11-28T16:25:46Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/1654"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0ef0ffa5-33b7-548a-cb76-63ceee3e55b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C20:785A9:4BD01BE:5FEC221:6B025892 |
| html-safe-nonce | 893e50076b070e6f36da7ff4bde348e6224e725db9f6cb4d3d33bbd8da2fd7b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzIwOjc4NUE5OjRCRDAxQkU6NUZFQzIyMTo2QjAyNTg5MiIsInZpc2l0b3JfaWQiOiI3MjU1NjI1NTM0OTY3Nzk3OTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | decb6236ebebbbfe1d9d85ad895287a1308dce7e762b77e6f973f7e8646e2789 |
| hovercard-subject-tag | issue:530001036 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/1654/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f506dc428c2b72dac6d0b22ce9d99082e57bab3899c32833ac917c988ec3c34/python-telegram-bot/python-telegram-bot/issues/1654 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f506dc428c2b72dac6d0b22ce9d99082e57bab3899c32833ac917c988ec3c34/python-telegram-bot/python-telegram-bot/issues/1654 |
| og:image:alt | Seems that TG servers are escaping '_' in links by default, yet the library functions blindly replace it by '\ _'. Try it out - 'https://site_name.com' becomes 'https: // site \ _name.com' after ms... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | moonbaseDelta |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width