MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / htmlSanitizer

Function htmlSanitizer

OpenReservation/wwwroot/Scripts/angular.js:17994–17996  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

17992 this.$get = [
17993 '$injector', function ($injector) {
17994 var htmlSanitizer = function htmlSanitizer(html) {
17995 throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');
17996 };
17997
17998 if ($injector.has('$sanitize')) {
17999 htmlSanitizer = $injector.get('$sanitize');

Callers 1

getTrustedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected