webvtt-py
webvtt-py copied to clipboard
Fix cue skipped when empty line follows timing (#74)
Closes #74
Summary
This pull request addresses issue #74 by updating the subtitle cue parsing logic. Now, any multi-line cue where an empty line immediately follows the timing line will be stripped and parsed, as per the desired behavior.
Details
- Checks for an empty line(s) directly after the timing in multi-line subtitle cues.
- Adds test coverage for this edge case.