Added HTMLValidator to check whether generated HTML is valid XML code