This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngSanitize throws TypeError when trying to use ng-bind-html w/ Number. #8416
Closed
Description
I'm not really sure if this is an issue, as I don't use ng-bind-html
that much, but...
Just discovered this issue in our app running ng 1.1.5, but it seems to occur in the latest version of ngSanitize. When scoped var is set to a Number, it bombs out when ngSanitize tries to call indexOf
on the Number, which is undefined
.
ex. <div ng-bind-html="some_number"></div> <!-- throws error -->
Metadata
Metadata
Assignees
Labels
No labels