8000 docs($interpolate): add known issue about end-symbol in expression · kevinSuttle/angular.js@c95a3d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c95a3d8

Browse files
committed
docs($interpolate): add known issue about end-symbol in expression
This has been discussed in angular#8642. Closes angular#14494
1 parent 25a7aef commit c95a3d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ng/interpolate.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ function $InterpolateProvider() {
216216
* </file>
217217
* </example>
218218
*
219+
* @knownIssue
220+
* It is currently not possible for an interpolated expression to contain the interpolation end
221+
* symbol. For example, `{{ '}}' }}` will be incorrectly interpreted as `{{ ' }}` + `' }}`, i.e.
222+
* an interpolated expression consisting of a single-quote (`'`) and the `' }}` string.
223+
*
219224
* @param {string} text The text with markup to interpolate.
220225
* @param {boolean=} mustHaveExpression if set to true then the interpolation string must have
221226
* embedded expression in order to return an interpolation function. Strings with no

0 commit comments

Comments
 (0)
0