Dont trim before posting (close #1621) (#1622)

* Dont trim before posting (close #1621)

* Tweak: do trim end
This commit is contained in:
Paul Frazee 2023-10-05 19:08:20 -07:00 committed by GitHub
parent b74a0e0fe2
commit 8366fe2c4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ export async function post(store: RootStoreModel, opts: PostOpts) {
| undefined
let reply
let rt = new RichText(
{text: opts.rawText.trim()},
{text: opts.rawText.trimEnd()},
{
cleanNewlines: true,
},