1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

help: Template might be a better fit to create multiline strings

The inject node doesn't create multiline strings as the help text explains. While there's indeed many ways to circumvent this, the Template node might be more "low-code" than the function node is.
This commit is contained in:
Zeger-Jan van de Weg 2023-06-27 09:53:39 +02:00 committed by GitHub
parent 234e92db12
commit db98641a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,5 +36,5 @@ greater than one day you should consider using a scheduler node that can cope wi
<p><b>Note</b>: The <i>"Interval between times"</i> and <i>"at a specific time"</i> options use the standard cron system.
This means that 20 minutes will be at the next hour, 20 minutes past and 40 minutes past - not in 20 minutes time.
If you want every 20 minutes from now - use the <i>"interval"</i> option.</p>
<p><b>Note</b>: To include a newline in a string you must use a Function node to create the payload.</p>
<p><b>Note</b>: To include a newline in a string you must use the Function or Template node to create the payload.</p>
</script>