Tidy up System:Advanced:Misc XHTML

Close BR tags
Close INPUT tags
Update CDATA secions in script tags
Update HTML boolean operators