alexandercerutti/sub37

Multi line does not preserve style

alexandercerutti opened this issue · 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

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.