Hi wingowin,
Actual, the code is corrects by the browser, the html code what you are using is not a standard HTML, so the browser corrects it directly. For now we can not prevent it, sorry for your inconvenience.
Regards,
Ken