🔥 Remove line breaks from param descriptions (#2473)

* 🔥 Remove line breaks from param descriptions

* 🔥 Remove more line breaks

* 🎨 Fix spacing for list item in tooltip

*  Apply multiline with <p> tags

*  Improve <code> and <a> tags

* ✏️ Improve grammar and spelling

*  Add missing <p> tags

* ✏️ Make "multiple" phrasing consistent

*  Fix unneeded quote escapes

*  Encode angle brackets

*  Fix typo and copy-paste artifact
This commit is contained in:
Iván Ovejero
2021-11-25 18:10:06 +01:00
committed by GitHub
parent 260ab395d1
commit 0764c49dcf
120 changed files with 327 additions and 659 deletions

View File

@@ -99,9 +99,7 @@ export class Mqtt implements INodeType {
name: 'retain',
type: 'boolean',
default: false,
description: `Normally if a publisher publishes a message to a topic, and no one is subscribed to<br>
that topic the message is simply discarded by the broker. However the publisher can tell the broker<br>
to keep the last message on that topic by setting the retain flag to true.`,
description: `Normally if a publisher publishes a message to a topic, and no one is subscribed to that topic the message is simply discarded by the broker. However the publisher can tell the broker to keep the last message on that topic by setting the retain flag to true.`,
},
],
},
@@ -149,7 +147,7 @@ export class Mqtt implements INodeType {
ca,
cert,
key,
rejectUnauthorized,
rejectUnauthorized,
};
if (credentials.username && credentials.password) {
clientOptions.username = credentials.username as string;
@@ -158,7 +156,7 @@ export class Mqtt implements INodeType {
client = mqtt.connect(brokerUrl, clientOptions);
}
const sendInputData = this.getNodeParameter('sendInputData', 0) as boolean;
// tslint:disable-next-line: no-any