Skip to content

fix(csharp-book): fix mermaid syntax error in ch14 FFI diagram#114

Open
aek676 wants to merge 1 commit into
microsoft:mainfrom
aek676:main
Open

fix(csharp-book): fix mermaid syntax error in ch14 FFI diagram#114
aek676 wants to merge 1 commit into
microsoft:mainfrom
aek676:main

Conversation

@aek676

@aek676 aek676 commented Jun 21, 2026

Copy link
Copy Markdown

The mermaid diagram in ch14 (Unsafe Rust and FFI) had a syntax error caused by escaped double quotes (\") inside node labels. Mermaid doesn't support backslash escaping for quotes — it uses its own entity code #quot; instead.

Changed:

  • ["extern \"C\" fn"]["extern #quot;C#quot; fn"]

Use mermaid entity code #quot; for double quotes inside node labels
instead of escaped quotes which caused parse errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant