             {escaped, ""} -> [?', escaped, ?']
             {escaped, _} -> [?', escaped, ?', " ++ ..."]
           end
-        IO.iodata_to_binary inspected
+
+        IO.iodata_to_binary(inspected)
+
       keyword?(term) ->
         container_doc(open, term, close, opts, &keyword/2, separator: sep, break: :strict)
+
       true ->
         container_doc(open, term, close, opts, &to_doc/2, separator: sep)
     end

  end

  defp to_map({key, value}, opts, sep) do
    concat(
      concat(to_doc(key, opts), sep),
      to_doc(value, opts)
    )
  end
end


    end
  end

  def keyword?([]), do: true
  def keyword?(_other), do: false
end

