This repository was archived by the owner on May 29, 2019. It is now read-only.
Typeahead use bind-html-unsafe #2884
Closed
Description
The typeahead directive uses bind-html-unsafe for the template of matches, https://github.com/angular-ui/bootstrap/blob/master/template/typeahead/typeahead-match.html.
The property on the directive doesn't indicate on any way that it can be dangerous, it should either:
a) Remove html-bind-unsafe entirely
b) Having typeahead use html-bind-unsafe should be a parameter set explicitly.
I would be happy to do any of those.