diff --git a/html/src/app.js b/html/src/app.js index 14de399f..aaab8943 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -14380,7 +14380,7 @@ speechSynthesis.getVoices(); var regex = new RegExp(symbolList[key], 'g'); newText = newText.replace(regex, key); } - return newText.replace(/ {1,}/g, ' '); + return newText.replace(/ {1,}/g, ' ').trimRight(); }; $app.methods.checkCanInvite = function (location) {