Working on new sub format

This commit is contained in:
niksedk 2015-08-01 13:49:43 +02:00
parent 2c5857209e
commit 62da03c21d

View File

@ -668,12 +668,12 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
}
}
AddText(sb, content);
}
if (content.Count > 0 && content[content.Count - 1] is SubtitleRegionContentEndOfInlineStyle)
{
content.RemoveAt(content.Count - 1); // last 'end-of-inline-style' not needed
}
}
}
private static void AddText(StringBuilder sb, List<SubtitleRegionContent> content)
{