mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
commit
765884ce66
@ -37,14 +37,14 @@ namespace Nikse.SubtitleEdit.Logic.Forms
|
||||
s = s.Remove(0, 1);
|
||||
if (s.StartsWith(' '))
|
||||
{
|
||||
if (s.StartsWith(" <i>"))
|
||||
if (s.StartsWith(" <i>", StringComparison.Ordinal))
|
||||
pre = " <i>";
|
||||
else
|
||||
pre = " ";
|
||||
}
|
||||
else if (s.StartsWith("<i>"))
|
||||
else if (s.StartsWith("<i>", StringComparison.Ordinal))
|
||||
pre = "<i>";
|
||||
else if (s.StartsWith("</i>"))
|
||||
else if (s.StartsWith("</i>", StringComparison.Ordinal))
|
||||
pre = "</i>";
|
||||
|
||||
if (pre.Length > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user