Change tooltip markup to match the site

The tooltips weren't displayed properly before this fix due to GitHub CSS changes.