Now allows some variations in "Sami" sync tag - thx Rebecca :)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@2145 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2013-10-18 11:33:30 +00:00
parent 4465f13163
commit 740ea8107c

View File

@ -203,7 +203,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
_errorCount = 0; _errorCount = 0;
var sb = new StringBuilder(); var sb = new StringBuilder();
foreach (string l in lines) foreach (string l in lines)
sb.AppendLine(l); sb.AppendLine(l.Replace("<SYNC Start= \"", "<SYNC Start=\"").Replace("<SYNC Start = \"", "<SYNC Start=\"").Replace("<SYNC Start =\"", "<SYNC Start=\"").Replace("<SYNC Start=\"", "<SYNC Start=\""));
string allInput = sb.ToString(); string allInput = sb.ToString();
string allInputLower = allInput.ToLower(); string allInputLower = allInput.ToLower();