Skip to content

Commit ab0db15

Browse files
committed
docs: fix mermaid decision nodes with br tags
Remove <br/> tags from inside curly brace decision nodes which cause mermaid 11.4.1 syntax errors. The forward slash in <br/> confuses the parser when inside decision node braces.
1 parent 5b0780a commit ab0db15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/guides/use-cases/marketing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ graph TB
8181
graph TB
8282
A[startCampaign] --> B[fetchUserProfile]
8383
B --> C[selectChannel]
84-
C --> D{Preferred<br/>Channel?}
84+
C --> D{Channel?}
8585
D -->|Email| E[sendEmail1]
8686
D -->|SMS| F[sendSMS1]
8787
D -->|Push| G[sendPush1]

docs/guides/use-cases/media-processing.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ graph TB
7171
```mermaid
7272
graph TB
7373
A[processVideoUpload] --> B[analyzeMetadata]
74-
B --> C{Source<br/>Resolution?}
74+
B --> C{Resolution?}
7575
C -->|4K Source| D[transcode4K]
7676
C -->|HD Source| E[transcodeHD]
7777
C -->|SD Source| F[transcodeSD]
@@ -99,7 +99,7 @@ graph TB
9999
```mermaid
100100
graph TB
101101
A[processImageUpload] --> B[analyzeContent]
102-
B --> C{Content<br/>Type?}
102+
B --> C{Content Type?}
103103
C -->|Product| D[removeBackground]
104104
C -->|Portrait| E[detectFaces]
105105
C -->|Landscape| F[analyzeScene]
@@ -157,7 +157,7 @@ graph TB
157157
F -->|Invoice| G[extractLineItems]
158158
F -->|Contract| H[extractClauses]
159159
F -->|Receipt| I[extractExpenses]
160-
G --> J{Needs<br/>Review?}
160+
G --> J{Needs Review?}
161161
H --> J
162162
I --> J
163163
J -->|Yes| K[wait.forToken approval]

0 commit comments

Comments
 (0)