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

Mermaid 8.0.0-rc.8 creates SVG files that do not display correctly in Inkscape and Latex #664

Open
RedX2501 opened this issue May 23, 2018 · 8 comments

Comments

@RedX2501
Copy link

@RedX2501 RedX2501 commented May 23, 2018

We user mermaid.cli from mermaid-filter to generate PDF files from Markdown.

When using mermaild-cli 0.4.6 it was creating black tags for the labels. Firefox version 0.5.6 did display the SVG correctly though.

bad svg

According to devDependencies mermaid.cli uses mermaid 8.0.0-rc.8.
Replacing the minified mermaid version with 7.1.2 fixed the problem. Mermaid 8.0.0-rc.8 still had the issue.

@tewarid

This comment has been minimized.

Copy link

@tewarid tewarid commented Jul 5, 2018

Found a similar issue with librsvg2 on Linux tewarid/docker-pandoc#8

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Jun 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Inactive label Jun 29, 2019
@BioinfoTongLI

This comment has been minimized.

Copy link

@BioinfoTongLI BioinfoTongLI commented Aug 5, 2019

It seems that it's not fixed yet ? Does that mean we have to tick with 7.x.x while 8.2.1 is already released ?

@nicolaidea

This comment has been minimized.

Copy link

@nicolaidea nicolaidea commented Sep 3, 2019

it is not fixed yet. =(

@epower

This comment has been minimized.

Copy link

@epower epower commented Oct 23, 2019

This might be a related issue (at least for Pandoc/Latex) https://gitlab.gnome.org/GNOME/librsvg/issues/428

@tonytonyjan

This comment has been minimized.

Copy link

@tonytonyjan tonytonyjan commented Jan 8, 2020

I can confirm that this issue still exists with the version 8.4.4

@Gowa2017

This comment has been minimized.

Copy link

@Gowa2017 Gowa2017 commented Jan 12, 2020

I have the same problem too.

@Gowa2017

This comment has been minimized.

Copy link

@Gowa2017 Gowa2017 commented Jan 14, 2020

https://gitlab.gnome.org/GNOME/librsvg/issues/428

It's OK when I render gantt.But render graph has same problem.

Pandoc user librsvg to convert svg ,the rsvg-convert will report :

CSS parsing error
CSS parsing error
CSS parsing error
CSS unrecoverable error
parsing error: 497:1:could not recognize next production
parsing error: 499:3:while parsing rulset: current char must be a '}'
parsing error: 499:2:while parsing declaration: next property is malformed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.