Add newline to message
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
fc3b391aa9
commit
17be7c4f4d
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ export class MessageBodyBuilder {
|
||||||
const components = text.split("\n");
|
const components = text.split("\n");
|
||||||
components.slice(0, -1).forEach(t => {
|
components.slice(0, -1).forEach(t => {
|
||||||
linkify(t, this.insert.bind(this));
|
linkify(t, this.insert.bind(this));
|
||||||
|
this.insertNewline();
|
||||||
});
|
});
|
||||||
const [last] = components.slice(-1);
|
const [last] = components.slice(-1);
|
||||||
linkify(last, this.insert.bind(this));
|
linkify(last, this.insert.bind(this));
|
||||||
|
|
Reference in a new issue