diff --git a/site/content/docs/03-template-syntax.md b/site/content/docs/03-template-syntax.md index 8038e972be..27b6686cfc 100644 --- a/site/content/docs/03-template-syntax.md +++ b/site/content/docs/03-template-syntax.md @@ -149,6 +149,14 @@ Text can also contain JavaScript expressions:
{(/^[A-Za-z ]+$/).test(value) ? x : y}
``` +--- + +To include regular curly braces in the HTML, they must either be included as string Javascript expressions or their [HTML Entity](https://developer.mozilla.org/docs/Glossary/Entity) strings used + +```html +{'{'} in curly braces {'}'} or { in curly braces } or { in curly braces } +``` + ### Comments ---