added tel number handling for links
This commit is contained in:
@@ -158,6 +158,7 @@ function safeAttrValue (tag, name, value, cssFilter) {
|
||||
if (!(value.substr(0, 7) === 'http://' ||
|
||||
value.substr(0, 8) === 'https://' ||
|
||||
value.substr(0, 7) === 'mailto:' ||
|
||||
value.substr(0, 4) === 'tel:' ||
|
||||
value[0] === '#' ||
|
||||
value[0] === '/')) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user