Fix HTML syntax errors