plussub / srt-vtt-parser

A dependency free SRT / VTT subtitle parser, written in Typescript.
MIT License
25 stars 4 forks source link

Bug? #7

Closed kkm closed 3 months ago

kkm commented 8 months ago
00:00:34.701 --> 00:00:37.704 line:20%
[music turns dramatic]

I think it is bug if after timestamp format like "line:20%"

ste-xx commented 8 months ago

it parsed to:

{
  entries: [
    { id: '', from: 34701, to: 37704, text: '[music turns dramatic]' }
  ]
}

The parser does not support inline style.