This is easy enough (IIUC your problem): when using #nextLine while reading
from a stream, all 3 EOL conventions are handled transparently, you just get
the line's contents back until you are done. Then you write the lines back out
with your preferred EOL convention.
> On 18 Aug 2016, at 20:41,
Hi
for the mooc I'm working on a srt to vtt converter.
1
00:00:07,040 --> 00:00:10,440
Hello. This week,
we'll get to the heart of the matter,
2
00:00:10 600 --> 00:00:12,160
about syntax especially.
into
WEBVTT
00:00:07.040 --> 00:00:10.440 align:middle
Hello. This week,
we'll get to the he