diff --git a/lib/kino/process.ex b/lib/kino/process.ex index e058f02f..e091f57f 100644 --- a/lib/kino/process.ex +++ b/lib/kino/process.ex @@ -447,10 +447,8 @@ defmodule Kino.Process do end defp format_for_mermaid_participant_alias(pid, process_label) do - pid_text = :erlang.pid_to_list(pid) |> List.to_string() - label = process_label |> inspect() |> String.replace(~s{"}, "") - "#{label}
#{pid_text}" + "#{label}
#{:erlang.pid_to_list(pid)}" end defp maybe_add_participant({participants, idx}, pid) when is_pid(pid) do