Strip Emojis from title

This commit is contained in:
Hongbo Wu
2022-09-12 10:55:26 +08:00
parent 3827195aea
commit cb13d08421

View File

@ -273,7 +273,7 @@ const textToUtterance = ({
voice?: string
isHtml?: boolean
}): Utterance => {
const text = textItems.join('')
const text = stripEmojis(textItems.join(''))
let textWithWordOffset = text
if (isHtml) {
try {