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
fix($compile): correctly denormalize templates that do not use standard interpolation symbols
In order to support third party modules that do not use the same interpolation
symbols as the main app, we implemented denormalization (see dfe9983).
This required that 3rd party modules always used the standad `{{` and `}}`
interpolation symbols, so that we could correctly denormalise them to the
current app's symbols.
The problem with this became apparent when an app template using new symbols
inadvertently contained one of the standard interpolation symbols.
E.g. `<div data-context='{"context":{"id":3,"type":"page"}}">`
The double closing curly braces were being incorrectly denormalised.
This commit fixes this by allowing the compiler to be configured to know
what symbols are being used in templates from a given module.
Now modules can specify that what interpolation symbols they use and the
compiler will denormalize appropriately.
Closesangular#6493Closesangular#6453
0 commit comments