Add Telegram and WhatsApp link schemes

This commit is contained in:
Malte Gerth 2022-02-06 23:41:33 +01:00
parent 067dd8edbb
commit cc48a09308
2 changed files with 4 additions and 0 deletions

View file

@ -412,6 +412,8 @@ ignored_schemes_other = r"""
|isbn # ISBN (int. book numbers)
|javascript # JavaScript
|slack # Slack Technologies client
|tg # Telegram
|whatsapp # WhatsApp
"""
ignored_schemes = "^(%s%s%s%s)$" % (

View file

@ -16,6 +16,8 @@ iana_uri_schemes_other = {
"isbn": "ISBN (int. book numbers)",
"javascript": "JavaScript",
"slack": "Slack Technologies client",
"tg": "Telegram",
"whatsapp": "WhatsApp",
}
filter_uri_schemes_permanent = (