Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
markdown_preview: Fix mermaid diagrams failing to render with empty subgraphs (#50280)
Smit Barmase0fad478607e3
diff --git a/Cargo.lock b/Cargo.lockindex 2d8b9858deb..06def4875c2 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -10296,7 +10296,7 @@ dependencies = [[[package]]name = "mermaid-rs-renderer"version = "0.2.0"-source = "git+https://github.com/zed-industries/mermaid-rs-renderer?branch=fix-font-family-xml-escaping#d91961aa90bc7b0c09c87a13c91d48e2f05c468d"+source = "git+https://github.com/zed-industries/mermaid-rs-renderer?rev=9d8360d9cea10dc4bc86d7b8012cc6e9656e6cf2#9d8360d9cea10dc4bc86d7b8012cc6e9656e6cf2"dependencies = ["anyhow","fontdb 0.16.2",diff --git a/Cargo.toml b/Cargo.tomlindex ac80f187e6f..cb388e08a5b 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -370,7 +370,7 @@ markdown_preview = { path = "crates/markdown_preview" }svg_preview = { path = "crates/svg_preview" }media = { path = "crates/media" }menu = { path = "crates/menu" }-mermaid-rs-renderer = { git = "https://github.com/zed-industries/mermaid-rs-renderer", branch = "fix-font-family-xml-escaping", default-features = false }+mermaid-rs-renderer = { git = "https://github.com/zed-industries/mermaid-rs-renderer", rev = "9d8360d9cea10dc4bc86d7b8012cc6e9656e6cf2", default-features = false }migrator = { path = "crates/migrator" }mistral = { path = "crates/mistral" }multi_buffer = { path = "crates/multi_buffer" }