Consistently format sample diagnostics on this page.