Fix HTML markup validation errors