Minor fix for "Toggle dashed" - thx Bryan :)

A space was missing after "<i>-"
This commit is contained in:
Nikolaj Olsson 2016-03-27 14:47:33 +02:00
parent 75a1338f05
commit 0f195f3097

View File

@ -11507,7 +11507,7 @@ namespace Nikse.SubtitleEdit.Forms
if (line.TrimStart().StartsWith('-') || line.TrimStart().StartsWith("<i>-") || line.TrimStart().StartsWith("<i> -"))
sb.AppendLine(line);
else if (line.TrimStart().StartsWith("<i>") && line.Trim().Length > 3)
sb.AppendLine("<i>-" + line.Substring(3));
sb.AppendLine("<i>- " + line.Substring(3).TrimStart());
else
sb.AppendLine("- " + line);
}