mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Change http request node info to suggest {{{ rather than {{ to supress
html escape when forming urls from mustache.
This commit is contained in:
parent
cd5eac2cbb
commit
aef38b945d
@ -139,7 +139,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<p>When configured within the node, the URL property can contain <a href="http://mustache.github.io/mustache.5.html" target="_new">mustache-style</a> tags. These allow the
|
<p>When configured within the node, the URL property can contain <a href="http://mustache.github.io/mustache.5.html" target="_new">mustache-style</a> tags. These allow the
|
||||||
url to be constructed using values of the incoming message. For example, if the url is set to
|
url to be constructed using values of the incoming message. For example, if the url is set to
|
||||||
<code>example.com/{{topic}}</code>, it will have the value of <code>msg.topic</code> automatically inserted.</p>
|
<code>example.com/{{{topic}}}</code>, it will have the value of <code>msg.topic</code> automatically inserted.
|
||||||
|
Using {{{...}}} prevents mustache from escaping characters like / & etc.</p>
|
||||||
<p>
|
<p>
|
||||||
The output message contains the following properties:
|
The output message contains the following properties:
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user