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
docs: fix character code in expression example (#22564)
* docs: fix character code in expression example
Add '\' prefix so character code is rendered literally,
not as the character it represents.
* docs: format readme.md
Run `ng-dev format files` on readme.md.
(cherry picked from commit 68490f1)
|`<%= expression %>`| Replaced with the result of the call of the given expression. This only supports direct expressions, no structural (for/if/...) JavaScript. |
127
-
|`<%- expression %>`| Same as above, but the value of the result will be escaped for HTML when inserted (i.e. replacing '<' with '<')|
127
+
|`<%- expression %>`| Same as above, but the value of the result will be escaped for HTML when inserted (i.e. replacing '<' with '\<') |
128
128
|`<% inline code %>`| Inserts the given code into the template structure, allowing to insert structural JavaScript. |
129
129
|`<%# text %>`| A comment, which gets entirely dropped. |
0 commit comments