Commit Graph

2 Commits

Author SHA1 Message Date
HEOJUNFO
51574b4a19 fix(captions): escape WebVTT cue text on export and read it back on import (#598)
SRT and VTT exports wrote the same raw cue text. In WebVTT that text is
markup, so a caption such as "Tom & Jerry <3" lost everything after the
"<" in a player. Escape &, < and > for VTT only, and decode the same
references when a WebVTT file is imported so an export still round-trips.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:27:07 +08:00
Tom Huang
fcbaa2b029 feat: unify captions, editing and platform exports (#547)
* feat: add transcription and unified caption editing workflows

* Fix caption integration regressions and align explicit timeline modes

* Update bundled adapter and render fixtures for caption preview integration

* Resolve caption parsing from the isolated native runtime

Avoid importing native dependencies from the dependency-free ZIP at server startup. Load the HTML parser from the installed runtime for caption operations and cover isolated server import plus caption authoring.

* fix: preserve caption panel widths and manual editing intent

* fix: retain new caption selection during preview refresh

Keep newly created captions selected while the preview replaces its old clip list. Cover the stale-preview ordering with a failing-before/passing-after regression and verify pacing draft cancellation and recreation in Chromium.
2026-11-17 22:39:51 +08:00