Skip to content
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

Is it possible to get line break information from the subtitles? #13

Open
Jonathhhan opened this issue Mar 24, 2022 · 3 comments
Open

Comments

@Jonathhhan
Copy link

Thanks for the nice subtitle parser, it works very well with Open Frameworks.
I wonder if it is possible to get line break information (\n), so that I can format the subtitles similar to the original...

@Jonathhhan
Copy link
Author

Actually I found a solution. I just had to replace:

                if (completeLine != "")
                    completeLine += " ";

with:

                if (completeLine != "")
                    completeLine += "\n";

@saurabhshri
Copy link
Owner

Would you like to send a PR? :)

@Jonathhhan
Copy link
Author

I did send a PR... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants