Fix incorrect feed status change caused by different endpoints returning different amounts of spaces

This commit is contained in:
Natsumi
2021-08-11 09:15:47 +12:00
parent 19d2755b6e
commit 239378bdc2

View File

@@ -13340,6 +13340,7 @@ speechSynthesis.getVoices();
var regex = new RegExp(symbolList[key], "g");
text = text.replace(regex, key);
}
text = text.replace(/ {1,}/g, ' ');
return text;
};