Inkscape 1.0.2-2 cannot handle multiline text in SVG exported from drawio

Summary:

I have created this simple diagram in drawio-desktop a.k.a. diagrams.net

From drawio 14.5.1 (so, latest at time of writing) itself, I export the same diagram as SVG, test_drawio.svg:

  • test_drawio.svg

If I try to open this test_drawio.svg in Inkscape 1.0.2-2 (e86c8708, 2021-01-15), the texts are not shown correctly (only one lineis shown, with ellipsis - which is some sort of a fallback from the drawio export, as far as I can tell):

image

On the other hand, loading this test_drawio.svg in Firefox 88, seems to work fine:

image

Also wkhtmltopdf 0.13 can correctly convert this SVG texts (however, wkhtmltopdf 0.12.6 fails).

Can Inkscape be somehow persuaded to open this SVG correctly?

Steps to reproduce:

Open the attached test_drawio.svg in Inkscape 1.0.2-2

What happened?

The opened SVG does not show multiline text - only a singe line of text, with ellipsis added.

What should have happened?

Opening the SVG in Inkscape should have resulted with the correct rendering of the SVG drawing (as in Firefox).

Sample attachments: (above)

Version Info:

- Inkscape Version: Inkscape 1.0.2-2 (e86c870879, 2021-01-15)
- Operating System: Windows 10 Home
- Operating System version: 10.0.19042 N/A Build 19042
Edited by sdbbs