support tel, sms, mailto links in the query result (#3084)

This commit is contained in:
San
2018-11-16 04:08:02 +08:00
committed by Arik Fraimovich
parent bf85ddaaff
commit f6ef38479c

View File

@@ -2,7 +2,7 @@ import ngModule from '@/config';
ngModule.config(($locationProvider, $compileProvider, uiSelectConfig, toastrConfig) => {
$compileProvider.debugInfoEnabled(false);
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|data):/);
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|data|tel|sms|mailto):/);
$locationProvider.html5Mode(true);
uiSelectConfig.theme = 'bootstrap';