Comment 1 for bug 597819

Revision history for this message
Curtis Hovey (sinzui) wrote :

This is also the same issues as bug 399491, bug 434093, bug 520659. I beleive you are familar with two of them.

This is the zero-width problem. My fix to the formatters was to ensure there is always a space in the link.

ObjectImageDisplayAPI.boolean
    <span class="sprite %(icon)s">&nbsp;<span class="invisible-link">%(icon)s</span></span>

Note that we always want to place an &nbsp; before the invisible-link element, or in the anchor if it is being left empty.