From 17a321c22714f612339baa104ca01ebf4e7b4c42 Mon Sep 17 00:00:00 2001 From: Joseph O'Brien <98370624+89jobrien@users.noreply.github.com> Date: Thu, 2 Apr 2026 21:54:54 -0400 Subject: [PATCH] fix(notgraph): add closing %% to module graph mermaid init directives --- crates/notgraph/src/emit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/notgraph/src/emit.rs b/crates/notgraph/src/emit.rs index e5b30fc..5bbbd8d 100644 --- a/crates/notgraph/src/emit.rs +++ b/crates/notgraph/src/emit.rs @@ -292,7 +292,7 @@ fn write_html( } module_diagrams.push_str(&format!( - "

{}

\n
\n%%{{init: {{\"theme\":\"dark\"}}}}\n{}
\n", + "

{}

\n
\n%%{{init: {{\"theme\":\"dark\"}}}}%%\n{}
\n", mg.krate, d )); }