Use XHTML serialization instead of HTML

Ask Nokogiri to serialize output as XHTML instead of HTML. Such output is compatible with HTML 4, HTML 5 and XML while the HTML-only serialization is not compatible with XML.