Description
Transcript component parses the NOTE block in a WebVTT file as plain text and displays in the component. The parse is set to identify these blocks in the header as well as in between the cues in the file.
When there's note text within the cue's text with a line break in front of it, the parser recognizes it as a NOTE block in the WebVTT file instead of as part of the cue.
To Reproduce
Steps to reproduce the behavior:
- Go to https://avalon-dev.dlib.indiana.edu/media_objects/gf06g267d/
- Click on second section named 'The Legislative Organization of Congress'
- Select 'Transcripts` tab
- Scroll down to transcript cue with the timestamp
00:24:21
- See the text for that cue is broken into 2 lines, where the text 'note that neither the Majority' is not a clickable transcript cue, but a plain text display
Expected behavior
Whole cue text:
Screenshots
Example cue;
00:24:21.400 --> 00:24:24.370 align:middle line:84%
It's interesting to me to
note that neither the Majority
This is displayed in the Transcript component as follows;

Additional context
Related previous work: #440
Description
Transcript component parses the
NOTEblock in a WebVTT file as plain text and displays in the component. The parse is set to identify these blocks in the header as well as in between the cues in the file.When there's
notetext within the cue's text with a line break in front of it, the parser recognizes it as aNOTEblock in the WebVTT file instead of as part of the cue.To Reproduce
Steps to reproduce the behavior:
00:24:21Expected behavior
Whole cue text:
<span>elementScreenshots
Example cue;
This is displayed in the Transcript component as follows;

Additional context
Related previous work: #440