mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
change template characters
Added note about changing template characters
This commit is contained in:
parent
f1e7ec0c6b
commit
1aaab2a814
@ -47,5 +47,9 @@
|
||||
<code>{{global.name}}</code>, or for persistable store <code>store</code> use <code>{{flow[store].name}}</code> or
|
||||
<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.
|
||||
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>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user