Skip to content

Commit 1aac164

Browse files
authored
Merge pull request #5 from Trim/allow-tel-schema-2
Allow tel schema
2 parents fd0d19e + 3e6314d commit 1aac164

2 files changed

Lines changed: 2 additions & 2 deletions

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]}

lib/html/pipeline/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module HTML
22
class Pipeline
3-
VERSION = "0.15.5"
3+
VERSION = "0.15.6"
44
end
55
end

0 commit comments

Comments
 (0)