Comment 7 for bug 1818086

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Good question! Theoretically, I thought that adding this line under the "angular.module" line would add it globally for Angularjs 1.6.10 (https://code.angularjs.org/1.6.10/docs/api/ngSanitize/provider/$sanitizeProvider):

.config(['$sanitizeProvider', function($sanitizeProvider) {
    $sanitizeProvider.addValidAttrs(['aria-hidden']);
}])

But it doesn't work?