Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ee0dac4

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

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)