mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-19 00:06:30 +08:00
The $sanitize service was returning an empty string to the error page because the input was usually a single html tag (sometimes it could be `document`). This fix replaces angle brackets with html entities. Closes #8683