jekyll-mermaid
jekyll-mermaid copied to clipboard
No longer working - Invalid value for <svg> attribute viewBox="0 0 -Infinity -Infinity"
Please see the issue at https://github.com/knsv/mermaid/issues/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;
Thanks for bringing this to my attention. I'll try and look into it this week if I can find some free time.