1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
xmflsct
2022-12-31 02:06:19 +01:00
parent 4a25feb346
commit 7ccfdc7562
7 changed files with 93 additions and 51 deletions

View File

@ -15,7 +15,7 @@ const removeHTML = (text: string): string => {
parser.write(text)
parser.end()
return raw
return raw.replace(new RegExp(/\s$/), '')
}
export default removeHTML