From b9f6a0a946d2f3f9acd9b2cb9bd39ba6d0a60390 Mon Sep 17 00:00:00 2001 From: Ivandro Jao Date: Sat, 19 Jun 2021 12:08:04 +0100 Subject: [PATCH] remove redundant fix --- .../Forms/FixCommonErrors/FixInvalidItalicTags.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/libse/Forms/FixCommonErrors/FixInvalidItalicTags.cs b/src/libse/Forms/FixCommonErrors/FixInvalidItalicTags.cs index df30e7f97..b3311208e 100644 --- a/src/libse/Forms/FixCommonErrors/FixInvalidItalicTags.cs +++ b/src/libse/Forms/FixCommonErrors/FixInvalidItalicTags.cs @@ -13,10 +13,6 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors public void Fix(Subtitle subtitle, IFixCallbacks callbacks) { - const string beginTagUpper = ""; - const string endTagUpper = ""; - const string beginTag = ""; - const string endTag = ""; string fixAction = Language.FixInvalidItalicTag; int noOfInvalidHtmlTags = 0; for (int i = 0; i < subtitle.Paragraphs.Count; i++) @@ -26,13 +22,7 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors var text = subtitle.Paragraphs[i].Text; if (text.Contains('<')) { - if (!text.Contains("i>") && !text.Contains("