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

/help command crashes if you use bits of markdown syntax on the command description #51

Closed
pietroalbini opened this issue Mar 29, 2016 · 0 comments

Comments

@pietroalbini
Copy link
Contributor

For example, if you put an underscore in an help message the command crashes with an exception.

@pietroalbini pietroalbini self-assigned this Mar 29, 2016
@pietroalbini pietroalbini added this to the botogram 0.2.1 milestone Mar 29, 2016
pietroalbini pushed a commit that referenced this issue Mar 30, 2016
Before this commit, Markdown was used in all the default messages. This
was fine for most of them, but it causes problems in the `/help`
command if someone puts any markdown special characters in the
docstring of any commands.

This commit switches all the default messages to forced HTML, because
it supports escaping unwanted entities.

Fixes: GH-51
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