From 4a8b4f957b6b6cc7ba0cc5762568bf6078e8708c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bara=C3=BAna?= Date: Thu, 13 Jun 2024 11:02:34 -0300 Subject: [PATCH] Update lib/kino/process.ex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jonatan KÅ‚osko --- lib/kino/process.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kino/process.ex b/lib/kino/process.ex index c2f318a6..3c367cfc 100644 --- a/lib/kino/process.ex +++ b/lib/kino/process.ex @@ -449,8 +449,8 @@ defmodule Kino.Process do defp format_for_mermaid_participant_alias(pid, process_label) do pid_text = :erlang.pid_to_list(pid) |> List.to_string() - participant_alias = "#{inspect(process_label)}
#{pid_text}" - String.replace(participant_alias, "\"", "") + label = process_label |> inspect() |> String.replace(~s{"}, "") + "#{label}
#{pid_text}" end defp maybe_add_participant({participants, idx}, pid) when is_pid(pid) do