-
Notifications
You must be signed in to change notification settings - Fork 109
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
TTML text parsing issues with new lines #77
Comments
Problem is that this lib apparently doesn't handle properly I'm welcoming PRs. Cheers |
Merged
I created a PR: #106, please take a look. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I'm trying to parse the following ttml snippet:
It seems that the subtitle text is parsed without a new line.
The text is unmarshalled as xml chardata:
Which results with the following string: "Got you!Steady on."
ttml.go has the following comment in the code:
But it doesn't really seem the go xml unmarshaler converts the br tag into a new line.
Perhaps this is something which used to be true in old go versions? (I'm using Go 1.18.5
The text was updated successfully, but these errors were encountered: