This commit is contained in:
Nikolaj Olsson 2024-09-05 21:25:46 +02:00
parent 8ef56bb9bc
commit 4519d017e4

View File

@ -13225,17 +13225,8 @@ namespace Nikse.SubtitleEdit.Forms
}
else
{
var text = (currentParagraph.Text.Trim() + Environment.NewLine +
currentParagraph.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 = FixAssaTagsAfterMerge(currentParagraph.Text);