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

No longer working - Invalid value for <svg> attribute viewBox="0 0 -Infinity -Infinity" #5

Open
SteveEdson opened this issue Mar 8, 2016 · 1 comment

Comments

@SteveEdson
Copy link

Please see the issue at mermaid-js/mermaid#291


Using the Jekyll plugin and getting the error Invalid value for <svg> attribute viewBox="0 0 -Infinity -Infinity". Also get the error when calling mermaid.init();

The svg looks like:

<svg id="mermaidChart1" xmlns="http://www.w3.org/2000/svg" height="100%" viewBox="0 0 -Infinity -Infinity" style="max-width:-Infinitypx;"><g><g class="output"><g class="clusters"></g><g class="edgePaths"></g><g class="edgeLabels"></g><g class="nodes"></g></g></g></svg>

for the example:

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
@jasonbellamy
Copy link
Owner

Thanks for bringing this to my attention. I'll try and look into it this week if I can find some free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants