fix(multiple-subtitles): [PKG-MULTI-SUB-08] preserve entity text and semantic cue wrappers

This commit is contained in:
Harvey Zhao committed 2026-09-14 12:14:21 +08:00
1 parent 4acf85ea69
commit 675b095b27
22 files changed
+744 -59

No files matched your search

+8
View File
@@ -1,5 +1,13 @@
# Tests and fixture ownership
`test/multiple-subtitles-entities.test.js` checks named entities, literal tags,
double encoding, nested semantic tags and selection/reset through the real plugin.
The vendor parity suite stays unchanged: the plugin uses the parser's existing
entity-table option. Historical malformed-tag and stray-semicolon tests continue
to assert old defects; corrected cases have explicit rendering expectations instead
of treating those old serialized bytes as a required contract. Browser entity
tests compare native VTT fragments and actual HTML captions on both core variants.
`yarn test:library` runs actual library builds, build-input freshness checks and the
scaffold's generated consumers. The new build modules live in `scripts/library/`;
`yarn typecheck:library` checks them and the retained JS/MJS entrypoints. Browser