Repository navigation
Set htmlLabels: false at root of Mermaid config (closes #3698) - #3700
Conversation
Code Review: PR #3700 (issue #3698), initial reviewReview Type: Initial (no prior reviews or comments) Requirements Check
Findings🟡 Improvement - 📁 🟢 Nit - 📁 🟢 Nit - 📁 Production change: a minimal one-line fix with an accurate "why" comment, no lint suppression, no RecommendationAPPROVE (conditional on removing the stray screenshot PNGs, which is non-functional). |
malibio
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: APPROVE (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.
|
Addressed review: removed the 3 stray screenshots PNGs (failure artifacts from my without-fix verification run) and gitignored the directory; renamed Re-Review Decision: NO RE-REVIEW NEEDED. Changes are artifact removal and a param rename, no logic changes; lint and the 18 browser tests pass. |
396622e to
00af342
Compare
…itization (closes #3698) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…g param - Removed three Vitest browser failure screenshots committed by accident and gitignored __screenshots__/ so they cannot recur. - Renamed the it.each label param from _n to label. - Skipped: mockReset in finally. The test is last in the file and earlier tests install their own mocks; revisit if tests are added after it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
00af342 to
e8150eb
Compare
Mermaid v11 ignores nested flowchart/class htmlLabels for the shared layout, so labels landed in foreignObject and DOMPurify stripped them. Sets htmlLabels: false at the root; browser tests render a real flowchart (light and dark) and assert visible labels with no foreignObject.
🤖 Generated with Claude Code