Convert any HTML to valid XML