fix: Render line-breaks properly in messages (#2699)
This commit is contained in:
parent
bfa00cc12d
commit
5b3339cd33
4 changed files with 7 additions and 4 deletions
|
@ -47,7 +47,7 @@ class MessageFormatter {
|
|||
const markedDownOutput = marked(withHash);
|
||||
return markedDownOutput;
|
||||
}
|
||||
return marked(this.message);
|
||||
return marked(this.message, { breaks: true, gfm: true });
|
||||
}
|
||||
|
||||
get formattedMessage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue