Issue Details (XML | Word | Printable)

Key: MBS-7684
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Ulrich Klauer
Reporter: Ulrich Klauer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

Spurious closing </span> tags

Created: 17/Jun/14 02:04 AM   Updated: 07/Jul/14 07:54 PM  Due: 07/Jul/14   Resolved: 07/Jul/14 07:54 PM
Component/s: Data display
Affects Version/s: None
Fix Version/s: 2014-07-07

Issue Links:
Duplicate
 


 Description  « Hide

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>


Sort Order: Ascending order - Click to sort in descending order