Bug description
Setting the mermaid format to svg will result in text inside some diagram boxes being clipped:
---
mermaid-format: svg
---
```{mermaid}
graph
L --- P1
L(library)
P1(dashboard <br/> dplyr 0.8.5)
```

Allowing the same diagram to be rendered in the browser produces the expected output, as does SVG export from the mermaid live editor:

quarto check Output
❯ quarto check
[✓] Checking Quarto installation......OK
Version: 1.1.3
Path: /Users/edavidaja/.local/share/qvm/versions/v1.1.3/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.8.6
Path: /Users/edavidaja/.pyenv/versions/3.8.6/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.1.2
Path: /Library/Frameworks/R.framework/Versions/4.1/Resources
LibPaths:
- /Users/edavidaja/Library/R/x86_64/4.1/library
- /Library/Frameworks/R.framework/Versions/4.1/Resources/library
rmarkdown: 2.14
[✓] Checking Knitr engine render......OK
quarto tools check Output
❯ quarto tools check
[✓] Inspecting tools
Tool Status Installed Latest
chromium Not installed --- 869685
tinytex Not installed --- v2022.08
Checklist
Bug description
Setting the mermaid format to svg will result in text inside some diagram boxes being clipped:
Allowing the same diagram to be rendered in the browser produces the expected output, as does SVG export from the mermaid live editor:
quarto checkOutput❯ quarto check [✓] Checking Quarto installation......OK Version: 1.1.3 Path: /Users/edavidaja/.local/share/qvm/versions/v1.1.3/bin [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.8.6 Path: /Users/edavidaja/.pyenv/versions/3.8.6/bin/python3 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........OK Version: 4.1.2 Path: /Library/Frameworks/R.framework/Versions/4.1/Resources LibPaths: - /Users/edavidaja/Library/R/x86_64/4.1/library - /Library/Frameworks/R.framework/Versions/4.1/Resources/library rmarkdown: 2.14 [✓] Checking Knitr engine render......OKquarto tools checkOutputChecklist
quarto checkin the "Quarto Check Output" text area?quarto tools checkin the "Quarto Tools Check Output" text area?