Skip to content

Commit 88d54b2

Browse files
committed
linuxfr: add tel: protocol inside whitelist
1 parent fd0d19e commit 88d54b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/html/pipeline/sanitization_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SanitizationFilter < Filter
3939
'video' => ['src', 'controls']
4040
},
4141
:protocols => {
42-
'a' => {'href' => ['ftp', 'http', 'https', 'irc', 'mailto', 'xmpp', 'ed2k', 'magnet', :relative]},
42+
'a' => {'href' => ['ftp', 'http', 'https', 'irc', 'mailto', 'xmpp', 'ed2k', 'magnet', 'tel', :relative]},
4343
'blockquote' => {'cite' => ['http', 'https', :relative]},
4444
'img' => {'src' => ['http', 'https', :relative]},
4545
'q' => {'cite' => ['http', 'https', :relative]}

0 commit comments

Comments
 (0)