Fixing HTML syntax issues