Error in Export to PDF for Mermaid diagrams

Still the case on on v1.9.12, in a sandbox vault.