Topic on Extension talk:SimpleTooltip

Jump to navigation Jump to search

Tooltip formatting glitches in lists

1
Ulf Dunkel (talkcontribs)

In MediaWiki 1.32.2, I notice that the output of tooltips in list objects leads to the further indentation of the list.

  • {{#tip-text: NSFW|Not Safe For Work - the following link may contain graphic content!}}
  • {{#tip-text: NSFW|Not Safe For Work - the following link may contain graphic content!}}
  • {{#tip-text: NSFW|Not Safe For Work - the following link may contain graphic content!}}

Checking the HTML output shows that the tooltip isn't just embedded in <span></span> tags, but there are also paragraph and list tags which irritate the outer formatting of the desired unordered or ordered list.

The issue can be seen here: https://en.intactiwiki.org/wiki/Template:NSFW/Sandbox

Reply to "Tooltip formatting glitches in lists"