Fix the parser to make input tags XHTML-compatible