Minor refact

This commit is contained in:
niksedk 2015-10-05 21:18:41 +02:00
parent ed33b32579
commit 00b14eb462

View File

@ -87,7 +87,7 @@ namespace Nikse.SubtitleEdit.Core
public static string[] SplitToLines(this string source)
{
return source.Replace("\r\n", "\n").Replace('\r', '\n').Replace(Convert.ToChar(8232), '\n').Split('\n');
return source.Replace("\r\n", "\n").Replace('\r', '\n').Replace('\u2028', '\n').Split('\n');
}
// http://www.codeproject.com/Articles/43726/Optimizing-string-operations-in-C