We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab15cc commit e03aac8Copy full SHA for e03aac8
src/ng/compile.js
@@ -153,7 +153,7 @@ function $CompileProvider($provide) {
153
Suffix = 'Directive',
154
COMMENT_DIRECTIVE_REGEXP = /^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,
155
CLASS_DIRECTIVE_REGEXP = /(([\d\w\-_]+)(?:\:([^;]+))?;?)/,
156
- aHrefSanitizationWhitelist = /^\s*(https?|ftp|mailto|file):/,
+ aHrefSanitizationWhitelist = /^\s*(https?|ftp|mailto|tel|file):/,
157
imgSrcSanitizationWhitelist = /^\s*(https?|ftp|file):|data:image\//;
158
159
// Ref: http://developers.whatwg.org/webappapis.html#event-handler-idl-attributes
0 commit comments