Skip to content

Commit b451d65

Browse files
author
Stephen Watkin
committed
added \'tel\' to list of acceptable hyperlink protocols
1 parent 41c90ae commit b451d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/sanitizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class HTMLSanitizerMixin(object):
138138
acceptable_protocols = ['ed2k', 'ftp', 'http', 'https', 'irc',
139139
'mailto', 'news', 'gopher', 'nntp', 'telnet', 'webcal',
140140
'xmpp', 'callto', 'feed', 'urn', 'aim', 'rsync', 'tag',
141-
'ssh', 'sftp', 'rtsp', 'afs']
141+
'ssh', 'sftp', 'rtsp', 'afs', 'tel']
142142

143143
# subclasses may define their own versions of these constants
144144
allowed_elements = acceptable_elements + mathml_elements + svg_elements

0 commit comments

Comments
 (0)