mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fixed line breaking bug in mpl format - thx Przemek
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@311 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
6667fc0621
commit
5221c480b1
@ -117,6 +117,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
|||||||
if (textIndex < s.Length)
|
if (textIndex < s.Length)
|
||||||
{
|
{
|
||||||
string text = s.Substring(textIndex);
|
string text = s.Substring(textIndex);
|
||||||
|
text = text.Replace("|", Environment.NewLine);
|
||||||
string temp = s.Substring(0, textIndex - 1);
|
string temp = s.Substring(0, textIndex - 1);
|
||||||
string[] frames = temp.Replace("][", ":").Replace("[", string.Empty).Replace("]", string.Empty).Split(':');
|
string[] frames = temp.Replace("][", ":").Replace("[", string.Empty).Replace("]", string.Empty).Split(':');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user