diff --git a/src/Logic/Utilities.cs b/src/Logic/Utilities.cs index 89b74e875..30b7e9c10 100644 --- a/src/Logic/Utilities.cs +++ b/src/Logic/Utilities.cs @@ -1673,14 +1673,18 @@ namespace Nikse.SubtitleEdit.Logic const string beginTag = ""; const string endTag = ""; + text = text.Replace("< i >", beginTag); text = text.Replace("< i>", beginTag); text = text.Replace("", beginTag); text = text.Replace("< I>", beginTag); text = text.Replace("", beginTag); + text = text.Replace("< / i >", ""); text = text.Replace("< /i>", endTag); text = text.Replace("", endTag); text = text.Replace("< /i>", endTag); + text = text.Replace("< /i >", endTag); + text = text.Replace("", endTag); text = text.Replace("< /I>", endTag); text = text.Replace("", endTag); text = text.Replace("< /I>", endTag);