Minor fix for bold tag below video player

This commit is contained in:
Nikolaj Olsson 2016-07-20 08:29:16 +02:00
parent afea7c063e
commit a051b7bc2b

View File

@ -354,6 +354,10 @@ namespace Nikse.SubtitleEdit.Controls
} }
i += 3; i += 3;
} }
else if (Configuration.Settings.General.VideoPlayerPreviewFontBold && text.Substring(i).StartsWith("</b>", StringComparison.OrdinalIgnoreCase))
{
i += 3;
}
else if (text.Substring(i).StartsWith("<u>", StringComparison.OrdinalIgnoreCase)) else if (text.Substring(i).StartsWith("<u>", StringComparison.OrdinalIgnoreCase))
{ {
_subtitleTextBox.AppendText(sb.ToString()); _subtitleTextBox.AppendText(sb.ToString());