fix newline split
This commit is contained in:
parent
ffb7a91a84
commit
e900c0e65a
@ -3,7 +3,7 @@
|
||||
"name": "matrix",
|
||||
"description": "Matrix.org Service for Squeebot 3",
|
||||
"tags": ["service", "matrix"],
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"dependencies": ["control?"],
|
||||
"npmDependencies": ["matrix-bot-sdk@0.6.6"]
|
||||
}
|
||||
|
@ -396,7 +396,7 @@ class MatrixProtocol extends Protocol {
|
||||
msgtype,
|
||||
body: this.format.strip(response),
|
||||
format: 'org.matrix.custom.html',
|
||||
formatted_body: response.replace('\n', '<br />'),
|
||||
formatted_body: response.replace(/\n/g, '<br />'),
|
||||
});
|
||||
|
||||
return true;
|
||||
|
@ -3,7 +3,7 @@
|
||||
"plugins": [
|
||||
{
|
||||
"name": "matrix",
|
||||
"version": "1.3.0"
|
||||
"version": "1.3.1"
|
||||
}
|
||||
],
|
||||
"typescript": true
|
||||
|
Loading…
Reference in New Issue
Block a user