Skip to content

fix(tts): skip footnote markers during narration#283

Merged
codedogQBY merged 1 commit into
mainfrom
feat/tts-skip-footnote-markers
May 31, 2026
Merged

fix(tts): skip footnote markers during narration#283
codedogQBY merged 1 commit into
mainfrom
feat/tts-skip-footnote-markers

Conversation

@codedogQBY
Copy link
Copy Markdown
Owner

Summary

  • skip footnote/noteref DOM nodes when collecting narration text
  • clean standalone and inline footnote markers such as [12], [十二], [23], and (四) from TTS text
  • apply the filtering to both desktop reader extraction and mobile reader WebView extraction
  • add focused tests for TTS footnote marker cleanup

Fixes #282.

Verification

  • pnpm --filter @readany/core test -- text-utils
  • pnpm --filter app-expo build:reader
  • pnpm --filter app build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

图书注释在朗读模式下及其的突兀

1 participant