From d2a882380834dccd3c0c24884c4c08c67af8248f Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 20 Sep 2019 11:20:40 +0100 Subject: [PATCH] add extra comment re mustache escapes to tempalte info --- .../@node-red/nodes/locales/en-US/function/80-template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/function/80-template.html b/packages/node_modules/@node-red/nodes/locales/en-US/function/80-template.html index e69f6d96c..8be8234b5 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/function/80-template.html +++ b/packages/node_modules/@node-red/nodes/locales/en-US/function/80-template.html @@ -46,6 +46,6 @@

It is possible to use a property from the flow context or global context. Just use {{flow.name}} or {{global.name}}, or for persistable store store use {{flow[store].name}} or {{global[store].name}}. -

Note: By default, mustache will escape any HTML entities in the values it substitutes. +

Note: By default, mustache will escape any non-alphanumeric or HTML entities in the values it substitutes. To prevent this, use {{{triple}}} braces.