sub37 icon indicating copy to clipboard operation
sub37 copied to clipboard

Multi line does not preserve style

Open alexandercerutti opened this issue 1 year ago • 1 comments

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 avatar Jan 07 '24 00:01 alexandercerutti

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 avatar Feb 18 '24 13:02 alexandercerutti