Fix HTML output formatting.