Merge pull request #146 from NicolasConstant/develop

0.13.1 merge
This commit is contained in:
Nicolas Constant 2019-07-30 00:52:48 -04:00 committed by GitHub
commit c42d63cc4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "sengi",
"version": "0.13.0",
"version": "0.13.1",
"license": "AGPL-3.0-or-later",
"main": "main-electron.js",
"description": "A multi-account desktop client for Mastodon and Pleroma",

View File

@ -223,6 +223,7 @@ export class CreateStatusComponent implements OnInit, OnDestroy {
}
private getWordByPos(str, pos) {
str = str.replace(/(\r\n|\n|\r)/gm,"");
var left = str.substr(0, pos);
var right = str.substr(pos);