mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Formatting (whitespace only)
This commit is contained in:
parent
abdd80e672
commit
f54cf304a3
@ -355,6 +355,7 @@ namespace Nikse.SubtitleEdit.Logic.Forms
|
||||
// Okay! Narrator: Hello!
|
||||
if (pre.IndexOfAny(new[] { '!', '?' }) > 0)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -889,7 +890,6 @@ namespace Nikse.SubtitleEdit.Logic.Forms
|
||||
text = text.TrimStart('-').TrimStart();
|
||||
}
|
||||
}
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,8 @@ namespace Test.Logic.SubtitleFormats
|
||||
|
||||
#region SubRip (.srt)
|
||||
|
||||
private static List<string> GetSrtLines(string text){
|
||||
private static List<string> GetSrtLines(string text)
|
||||
{
|
||||
var lines = new List<string>();
|
||||
string[] arr = text.Replace(Environment.NewLine, "\r").Replace("\n", "\r").Split('\r');
|
||||
foreach (string line in arr)
|
||||
|
Loading…
Reference in New Issue
Block a user