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,10 +668,10 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
} }
} }
AddText(sb, content); AddText(sb, content);
if (content.Count > 0 && content[content.Count - 1] is SubtitleRegionContentEndOfInlineStyle) }
{ if (content.Count > 0 && content[content.Count - 1] is SubtitleRegionContentEndOfInlineStyle)
content.RemoveAt(content.Count - 1); // last 'end-of-inline-style' not needed {
} content.RemoveAt(content.Count - 1); // last 'end-of-inline-style' not needed
} }
} }