mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Undo commit db527e4985
This commit is contained in:
parent
8ef56bb9bc
commit
4519d017e4
@ -13225,17 +13225,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
else
|
||||
{
|
||||
var text = (currentParagraph.Text.Trim() + Environment.NewLine +
|
||||
RemoveAssStartAlignmentTag(nextParagraph.Text).Trim()).Trim();
|
||||
var oneLine = Utilities.UnbreakLine(text);
|
||||
if (oneLine.Length <= Configuration.Settings.General.SubtitleLineMaximumLength)
|
||||
{
|
||||
currentParagraph.Text = oneLine;
|
||||
}
|
||||
else
|
||||
{
|
||||
currentParagraph.Text = text;
|
||||
}
|
||||
currentParagraph.Text = (currentParagraph.Text.Trim() + Environment.NewLine +
|
||||
RemoveAssStartAlignmentTag(nextParagraph.Text).Trim()).Trim();
|
||||
}
|
||||
|
||||
currentParagraph.Text = FixAssaTagsAfterMerge(currentParagraph.Text);
|
||||
|
Loading…
Reference in New Issue
Block a user