Skip to content

doesnt work when \n\n is at the end of a srt text #17

Description

@firecentaur

Hi there, I noticed that if a subtitle text has \n\n at the end of it, the next subtitle text is included as the text.
This causes an error:

example: the Vanderhall is a great option.\n\n28\n00:01:32,70 --> 00:01:34,70\nNow for the second car of our lineup,\n\n29\n00:01:34,70 --> 00:01:37,80\nat just under $20,000,the Polaris Slingshot\n\n30\n00:01:37,80 --> 00:01:40,60\nhas the least expensive\nstarting price of the group,\n\n31\n00:01:40,60 --> 00:01:42,110\nbut it comes with the most technology.

Any ideas how to fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions