You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
fix(ng-bind-html): deep watch the actual $sce value, not its toString.
Custom $sce implementations might not have a `toString()`, or it might be
compiled away in non-debug mode. Deep watching the object is the correct fix
with Angular's regular watch semantics.
The performance of this should be equivalent - `toString()` on objects usually
touches all fields, so a deep object watch will be in the same ballpark, except
that it avoids the (potentially big) string allocation.
0 commit comments