We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In:
https://github.com/trentm/python-markdown2/blob/master/lib/markdown2.py#L1274
_safe_protocols = re.compile(r'(https?|ftp):', re.I)
I would recommend that this is not hard-coded but rather there is an extra for it.
Alternatively, I would recommend to allow additional URL schemes such as mailto and tel.
mailto
tel
The text was updated successfully, but these errors were encountered:
WIP trentm#257: Add more URL schemes to safe protocols
db79bda
No branches or pull requests
In:
https://github.com/trentm/python-markdown2/blob/master/lib/markdown2.py#L1274
I would recommend that this is not hard-coded but rather there is an extra for it.
Alternatively, I would recommend to allow additional URL schemes such as
mailto
andtel
.The text was updated successfully, but these errors were encountered: