Examples of errors detected by the V3050 diagnostic

V3050. Possibly an incorrect HTML. The </XX> closing tag was encountered, while the </YY> tag was expected.


Emby

V3050 Possibly an incorrect HTML. The </u> closing tag was encountered, while the </i> tag was expected. SrtParserTests.cs 64


public void TestParse()
{
  var expectedSubs =
    new SubtitleTrackInfo
    {
      TrackEvents = new SubtitleTrackEvent[]
      {
        ....
        new SubtitleTrackEvent
        {
          Id = "6",
          StartPositionTicks = 330000000,
          EndPositionTicks = 339990000,
          Text =
              "This contains nested <b>bold,
              <i>italic, <u>underline</u> and
              <s>strike-through</s></u></i></b> HTML tags"
        },
        ....
      }
    };
}


Bugs Found

Checked Projects
381
Collected Errors
13 764