diff --git a/src/graphviz.rs b/src/graphviz.rs index 9c4b603..650ba9a 100644 --- a/src/graphviz.rs +++ b/src/graphviz.rs @@ -149,7 +149,7 @@ const INITIAL_COLOR: usize = 2; /// Returns an html label for the node with the function name and ports for each argumetn fn html_label(label: &str, n_args: usize) -> String { format!( - "<{}
{}
>", + "<{}
{}
>", (if n_args == 0 {"".to_string()} else {format!(" colspan=\"{}\"", n_args)}), Escape(label), (if n_args == 0 {