formatting for tooltip markup