Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print a ZenUML diagram on Chrome, Edge, or Firefox, and the vertical lines disappear #6004

Open
cafenroy opened this issue Oct 28, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@cafenroy
Copy link

cafenroy commented Oct 28, 2024

Description

Open and print this web page; you can see the vertical lines no longer display, and some other content also disappears. It’s the same on Chrome, Edge, and Firefox when printing to PDF or previewing the paper version.

Steps to reproduce

  1. Save content bellow into an .html page.
  2. Open the page in a browser.
  3. Print the result.

Screenshots

Web page version

image

Print preview

image

Code Sample

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Printing Bug</title>
</head>

<body>
    <section>
        <pre class="mermaid">
            zenuml
                title Printing Bug
                ACT1 -> ACT2
                ACT2 -> ACT3.Something
        </pre>
    </section>
</body>
<script type="module">
    import mermaid from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm'
    import zenuml from 'https://cdn.jsdelivr.net/npm/@mermaid-js/[email protected]/dist/mermaid-zenuml.esm.min.mjs';

    await mermaid.registerExternalDiagrams([zenuml]);
    await mermaid.initialize({
        startOnLoad: true,
        theme: 'default',
        securityLevel: 'loose'
    });
</script>
</html>

Setup

  • Mermaid version: 11.3.0
  • Browser and Version: Chrome, Edge and Firefox

Suggested Solutions

No response

Additional Context

No response

@cafenroy cafenroy added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant