Fix several XHTML 1.1 validation errors.