Introduce `splitTextToTtsBlocksEPUB` function to handle EPUB text splitting, treating single newlines as paragraph boundaries for precise highlighting. Update TTS context to conditionally use EPUB splitting based on document type. Enhance PDFViewer to clear highlights when current sentence is null. Add comprehensive tests for the new functionality and refactor existing ones. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| types | ||
| utils | ||