-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timestamp tag regression in 0.26.0 #99
Comments
We need to add proper handling of inline timestamp tags indeed and I'd be happy to point you to the proper direction for a PR 👍 Here's what needs to be done:
Let me know whether you feel like updating |
The html tokenizer doesn't actually recognise the timestamp tag as a start tag token, presumably because the first character after the
Having had a quick look, I think it's probably beyond my current knowledge of the codebase, so I'd prefer to leave that as TODOs. |
👍
Splitting the input text at the start of |
Inline timestamp tags are rendered incorrectly.
The following test illustrates this issue:
This test passes in v0.25.1 and fails in 0.26.0.
I can't determine if this is the same bug as #94 as the original file is no longer available. I can verify that #96 does not fix this issue.
I was able to determine that this was introduced by 1e3a211
I was able to fix this with the following diff:
But of course, this breaks the
TestWebVTTEscape
test. I'm not familiar enough with the code to determine a proper fix, but happy to do a PR if you have an idea on how to address this.The text was updated successfully, but these errors were encountered: