Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The syntax detector screws up with URLs #28

Closed
pietroalbini opened this issue Feb 23, 2016 · 0 comments
Closed

The syntax detector screws up with URLs #28

pietroalbini opened this issue Feb 23, 2016 · 0 comments

Comments

@pietroalbini
Copy link
Contributor

Currently, if you've underscores in URLs or email addresses, the syntax detector sees that as markdown, and so Telegram doesn't detect the URL as an URL. The parser should be able to discard URLs and email addresses before checking the syntax.

This is also bad because there is currently no way to disable the detector, as in #27.

@pietroalbini pietroalbini added this to the botogram 0.1.2 milestone Feb 23, 2016
pietroalbini pushed a commit that referenced this issue Feb 25, 2016
This release fixes a few bugs present in botogram 0.1 and 0.1.1.

* Add a way to disable the syntax detector (#27)
* Fix automatic syntax detector recognizing markdown in URLs (#28)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant