support svg:foreignObject html text (drawio svg export)

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 (e86c870879, 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?

Edited by Nathan Lee