mermaid generated files should be displayed correctly (foreignObject text)

Summary:

I use mermaid ( https://mermaid-js.github.io/mermaid/ ) to generate diagrams and it seems that some fo them are not displayed correctly with Inkscape.

Steps to reproduce:

  • open Inkscape
  • open image generated by Mermaid
  • see the result doesn't match what is displayed by browsers

workflow_dark.svg

What happened?

The image is not displayed as it should : there are no arrow line, the boxes are filled with black and the text is not displayed.

Capture_d_écran_2020-07-13_à_11.18.56

What should have happened?

The image should be displayed in the same way as in a browser.

Version Info:

- Inkscape Version: Inkscape 1.0 (4035a4f, 2020-05-01) Pango version: 1.43.0
- Operating System: macOS
- Operating System version: 10.14.6
Edited by Nathan Lee