mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Exclude empty text in utterances
This commit is contained in:
parent
186f5c4df7
commit
f927f879fd
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ export const htmlToSpeechFile = (
|
|||
wordOffset,
|
||||
node.nodeName === 'BLOCKQUOTE' ? options.secondaryVoice : undefined
|
||||
)
|
||||
utterances.push(utterance)
|
||||
utterance.wordCount > 0 && utterances.push(utterance)
|
||||
wordOffset += utterance.wordCount
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue