Title: Issue with markdown unparse and parse · Issue #61 · hydrogram/hydrogram · GitHub
Open Graph Title: Issue with markdown unparse and parse · Issue #61 · hydrogram/hydrogram
X Title: Issue with markdown unparse and parse · Issue #61 · hydrogram/hydrogram
Description: Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev....
Open Graph Description: Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://git...
X Description: Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https:/...
Opengraph URL: https://github.com/hydrogram/hydrogram/issues/61
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issue with markdown unparse and parse","articleBody":"### Checklist\n\n- [x] I am sure the error is coming from Hydrogram's code and not elsewhere\n- [x] I have searched in the issue tracker for similar bug reports, including closed ones\n- [x] I ran `pip3 install -U https://github.com/hydrogram/hydrogram/archive/dev.zip` and reproduced the issue using the latest development version\n\n### Description\n\nTry to unparse the markdown using Hydrogram and send back the received string using send_message method\n\n### Steps to reproduce\n\n`error.text` and `second.text` looks different.\n\n### Code example\n\n```python\nfrom hydrogram import Client\nfrom hydrogram.enums import ParseMode\n\nasync def main():\n async with Client(\"my_account\") as app:\n error = await app.get_messages(chat_id=\"@HydrogramChat\", message_ids=5304)\n first = await error.reply(error.text.markdown, parse_mode=ParseMode.DISABLED)\n second = await error.reply(first.text, parse_mode=ParseMode.MARKDOWN)\n```\n\n### Logs\n\n```shell\n\n```","author":{"url":"https://github.com/SpEcHiDe","@type":"Person","name":"SpEcHiDe"},"datePublished":"2025-02-20T15:49:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/61/hydrogram/issues/61"}
| 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:2d0a6c3a-9482-abc0-b829-71eb21a76bb3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A94A:30581F:336C49B:45183D0:697306E6 |
| html-safe-nonce | 481c8104e65da977b7c92f022550ef03c8d78a9bb418b9c66b6d7d4658294744 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTRBOjMwNTgxRjozMzZDNDlCOjQ1MTgzRDA6Njk3MzA2RTYiLCJ2aXNpdG9yX2lkIjoiNDYxODUzOTYyODM1OTc4MDA3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d2c92c82792ce97a6d4566788d66f1196ca34c077c0e636d8663ddb6c33b6830 |
| hovercard-subject-tag | issue:2866569864 |
| 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/hydrogram/hydrogram/61/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a77a9d81d989dea5a351b4c0731bf7faac491829f70d6e17f83149e572629893/hydrogram/hydrogram/issues/61 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a77a9d81d989dea5a351b4c0731bf7faac491829f70d6e17f83149e572629893/hydrogram/hydrogram/issues/61 |
| og:image:alt | Checklist I am sure the error is coming from Hydrogram's code and not elsewhere I have searched in the issue tracker for similar bug reports, including closed ones I ran pip3 install -U https://git... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SpEcHiDe |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/hydrogram/hydrogram git https://github.com/hydrogram/hydrogram.git |
| octolytics-dimension-user_id | 153278131 |
| octolytics-dimension-user_login | hydrogram |
| octolytics-dimension-repository_id | 711555265 |
| octolytics-dimension-repository_nwo | hydrogram/hydrogram |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 711555265 |
| octolytics-dimension-repository_network_root_nwo | hydrogram/hydrogram |
| 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 | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width