Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-7684

Spurious closing </span> tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2014-07-07
    • None
    • Data display
    • None

      The conditions for when to insert <span class="name-variation"> and when to insert the corresponding </span> are out of sync. This may cause a </span> closing tag to be created, which then prematurely terminates a different <span>.

      E.g. on http://bitmap.mbsandbox.org/artist/7e84f845-ac16-41fe-9ff8-df12eb32af55/relationships, the second relationship should be all yellow (including the "(background vocals)" part) because of pending edits, but isn't. This is the HTML:

      <span class="mp">
        <a href="http://bitmap.mbsandbox.org/artist/2ef51c46-f2f8-4a88-bc5e-6236bac9e1c3" title="Marianne &amp; Michael">
          <bdi>
            Marianne &amp; Michael
          </bdi>
        </a>
      </span> <!-- spurious -->
        (background vocals)
      </span>
      

            chirlu Ulrich Klauer
            chirlu Ulrich Klauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-07-07