diff --git a/frontend/js/ng.js b/frontend/js/ng.js index 198ff3d1..41feb45a 100644 --- a/frontend/js/ng.js +++ b/frontend/js/ng.js @@ -1,6 +1,8 @@ (function(fp, $, ng, undefined) { - var facilpadApp = angular.module("facilpad", [ ]); + var facilpadApp = angular.module("facilpad", [ ]).config(function($compileProvider) { + $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|javascript):/); + }); function wrapApply($scope, f) { return function() {