Fix HTML generation for code blocks.