Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi line does not preserve style #11

Closed
alexandercerutti opened this issue Jan 7, 2024 · 2 comments · May be fixed by #15
Closed

Multi line does not preserve style #11

alexandercerutti opened this issue Jan 7, 2024 · 2 comments · May be fixed by #15
Assignees
Labels

Comments

@alexandercerutti
Copy link
Owner

alexandercerutti commented Jan 7, 2024

When styling global cues (like with WebVTT), the second row of a cue does not preserve the same style.

Minimum repro case

WEBVTT

STYLE
::cue {
  color: peachpuff;
}

00:00:00.000 --> 00:00:20.000 
Soffro anche un tantino
di sindrome di Tourette.

Result

immagine
@alexandercerutti
Copy link
Owner Author

alexandercerutti commented Feb 18, 2024

This issue has been fixed in the feature/ttml-adapter feature. Fixing it, sadly, requires a change of how Entities operate and the re-introduction of Style Entities, that is required to make TTML adapter to work. This means the resolution brings a breaking change. It will fixed in the v2.0.0.

@alexandercerutti
Copy link
Owner Author

alexandercerutti commented Feb 8, 2025

Fixed in @sub37/[email protected] without breaking changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant