Pretty-print the contents of a Nokogiri document