From dc8fe98009c86c881d3b2e7e2e911d22e4ccf9dc Mon Sep 17 00:00:00 2001 From: Georgios Kalpakas Date: Fri, 22 Apr 2016 11:33:52 +0300 Subject: [PATCH] docs($interpolate): add known issue about end-symbol in expression This has been discussed in #8642. --- src/ng/interpolate.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ng/interpolate.js b/src/ng/interpolate.js index 48e1e0059055..addbf7c0001b 100644 --- a/src/ng/interpolate.js +++ b/src/ng/interpolate.js @@ -216,6 +216,11 @@ function $InterpolateProvider() { * * * + * @knownIssue + * It is currently not possible for an interpolated expression to contain the interpolation end + * symbol. For example, `{{ '}}' }}` will be incorrectly interpreted as `{{ ' }}` + `' }}`, i.e. + * an interpolated expression consisting of a single-quote (`'`) and the `' }}` string. + * * @param {string} text The text with markup to interpolate. * @param {boolean=} mustHaveExpression if set to true then the interpolation string must have * embedded expression in order to return an interpolation function. Strings with no