HTML/XML manipulation and sanitization based on Nokogiri