skip article references to bibliography. - #369
Open
gcb wants to merge 1 commit into
Open
Conversation
Neon-Solitude
pushed a commit
to Neon-Solitude/read-aloud
that referenced
this pull request
Jul 14, 2026
…107#369) Port PR ken107#369 onto the refactored base: removeReferences() drops in-text citation markers like "[1]"/"[42]" from js/content/html-doc.js so they are not read aloud mid-sentence -- a real reading-quality win for academic articles. Superscript refs were already dropped by dontRead(); this catches the bracketed inline variety. Dropped the PR's unrelated "$1.$2" -> "$1. $2" spacing tweak to keep the change focused. Added html-doc.test.js exercising the two pure helpers (now 80 tests). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Neon-Solitude
pushed a commit
to Neon-Solitude/read-aloud
that referenced
this pull request
Jul 14, 2026
…(Phases 0-7)
Lands the internal-refactor workstream (branch refactor/esbuild-and-test-harness,
17 commits) onto master as one unit, before Phase 8 fork-differentiation begins:
- Phase 0: node --test regression harness (now 80 tests, zero third-party deps)
- Phase 1: esbuild concat bundler (build.mjs), centralized load order
- Phase 2: DRY TTS engines + voice->engine registry (routing under test)
- Phase 3: message-send helper consolidation + dead peer-class removal
- Phase 4: language-data fixes + single-source settings keys + predicate DRY
- Phase 5: credential-form + optgroup/lang DRY
- Phase 6: jQuery removed from all 10 UI bundles + service worker
- Phase 7: version reconcile, dead-code, VOICE_LIST_TTL + cancellation helpers,
and upstream PR ken107#369 (bibliography-ref strip) ported
Behavior-preserving throughout; content scrapers intentionally retain jQuery.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
essential to listen to academic articles.