mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 23:12:34 +01:00
Minor fix for "Toggle dashed" - thx Bryan :)
A space was missing after "<i>-"
This commit is contained in:
parent
75a1338f05
commit
0f195f3097
@ -11507,7 +11507,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (line.TrimStart().StartsWith('-') || line.TrimStart().StartsWith("<i>-") || line.TrimStart().StartsWith("<i> -"))
|
if (line.TrimStart().StartsWith('-') || line.TrimStart().StartsWith("<i>-") || line.TrimStart().StartsWith("<i> -"))
|
||||||
sb.AppendLine(line);
|
sb.AppendLine(line);
|
||||||
else if (line.TrimStart().StartsWith("<i>") && line.Trim().Length > 3)
|
else if (line.TrimStart().StartsWith("<i>") && line.Trim().Length > 3)
|
||||||
sb.AppendLine("<i>-" + line.Substring(3));
|
sb.AppendLine("<i>- " + line.Substring(3).TrimStart());
|
||||||
else
|
else
|
||||||
sb.AppendLine("- " + line);
|
sb.AppendLine("- " + line);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user