Skip to content

Commit

Permalink
Remove unnecessary space replacement to  .
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Oct 18, 2024
1 parent 9ca1dec commit 0802729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crate/rt/src/into_graphviz_dot_src/info_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ fn node_cluster_internal(
let node_emoji = node_emojis.get(node_id).map(String::as_str);
let node_image = node_images.get(node_id);
// TODO: escape
let node_label = node_name.unwrap_or(node_id).replace(' ', " ");
let node_label = node_name.unwrap_or(node_id);
// TODO: escape
let node_desc = node_desc
.map(|desc| desc.replace('\n', "<br />"))
Expand Down

0 comments on commit 0802729

Please sign in to comment.