Skip to content

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

Merged
atulkhare4096 merged 1 commit into
microsoft:mainfrom
aek676:main
Jun 25, 2026
Merged

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

Conversation

@aek676

@aek676 aek676 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

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.
@atulkhare4096 atulkhare4096 merged commit 6bbe533 into microsoft:main Jun 25, 2026
1 check passed
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.

2 participants