Update packages/node_modules/@node-red/nodes/locales/en-US/function/80-template.html

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Sam Machin 2021-08-31 16:59:32 +01:00 committed by GitHub
parent 1aaab2a814
commit 702dfa4b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -48,8 +48,8 @@
<code>{{global[store].name}}</code>.
<p><b>Note: </b>By default, <i>mustache</i> will escape any non-alphanumeric or HTML entities in the values it substitutes.
To prevent this, use <code>{{{triple}}}</code> braces.</p>
<p>You can change the characters used for templating (if for example you need to use {{ }} within your content) by adding a line to the top of the template itself,
to change to use [[ ]] add:
<code>{{=[[ ]]=}}</code>
To the start of your template.</p>
<p>If you need to use <code>{{ }}</code> within your content, you can change the characters
used to mark the templated sections. For example, to use <code>[[ ]]</code>
instead, add the following line to the top of the template:</p>
<pre>{{=[[ ]]=}}</pre>
</script>