Check for sub format before splitting [Bug Fix]

I would probably replace the whole `if` block with:
```csharp
var separators = subFormat is SubRip ? new[] { "\r\n", "\n" } : new[] { "\r\n", "\n", "|" };
lines = RemoveHtmlTags(text, true).Split(separators, StringSplitOptions.None);
```

Environment agnostic and more performant.