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

Commit 7f2df14

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ng/interpolate.js

+5
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ function $InterpolateProvider() {
199199
* </file>
200200
* </example>
201201
*
202+
* @knownIssue
203+
* It is currently not possible for an interpolated expression to contain the interpolation end
204+
* symbol. For example, `{{ '}}' }}` will be incorrectly interpreted as `{{ ' }}` + `' }}`, i.e.
205+
* an interpolated expression consisting of a single-quote (`'`) and the `' }}` string.
206+
*
202207
* @param {string} text The text with markup to interpolate.
203208
* @param {boolean=} mustHaveExpression if set to true then the interpolation string must have
204209
* embedded expression in order to return an interpolation function. Strings with no

0 commit comments

Comments
 (0)