From b451d650375dab55b1c8b33c4e6a7750ce1ba53f Mon Sep 17 00:00:00 2001 From: Stephen Watkin Date: Wed, 30 Apr 2014 11:19:55 +0100 Subject: [PATCH] added \'tel\' to list of acceptable hyperlink protocols --- html5lib/sanitizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5lib/sanitizer.py b/html5lib/sanitizer.py index 469d9b40..f05fb2b9 100644 --- a/html5lib/sanitizer.py +++ b/html5lib/sanitizer.py @@ -138,7 +138,7 @@ class HTMLSanitizerMixin(object): acceptable_protocols = ['ed2k', 'ftp', 'http', 'https', 'irc', 'mailto', 'news', 'gopher', 'nntp', 'telnet', 'webcal', 'xmpp', 'callto', 'feed', 'urn', 'aim', 'rsync', 'tag', - 'ssh', 'sftp', 'rtsp', 'afs'] + 'ssh', 'sftp', 'rtsp', 'afs', 'tel'] # subclasses may define their own versions of these constants allowed_elements = acceptable_elements + mathml_elements + svg_elements