commit
c42d63cc4c
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "sengi",
|
"name": "sengi",
|
||||||
"version": "0.13.0",
|
"version": "0.13.1",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"main": "main-electron.js",
|
"main": "main-electron.js",
|
||||||
"description": "A multi-account desktop client for Mastodon and Pleroma",
|
"description": "A multi-account desktop client for Mastodon and Pleroma",
|
||||||
|
|
|
@ -223,6 +223,7 @@ export class CreateStatusComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
|
|
||||||
private getWordByPos(str, pos) {
|
private getWordByPos(str, pos) {
|
||||||
|
str = str.replace(/(\r\n|\n|\r)/gm,"");
|
||||||
var left = str.substr(0, pos);
|
var left = str.substr(0, pos);
|
||||||
var right = str.substr(pos);
|
var right = str.substr(pos);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue