Request: hyperlinks kept when text converted to path

Migrated from: https://bugs.launchpad.net/inkscape/+bug/1788783

Steps to reproduce:

sample file

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 268 197">
  <text y="1em">Text <a xlink:href="https://example.com">hyperlink</a></text>
</svg>

What happened?

Hyperlink is lost. Note copy and pasting text (not copying the whole object) also loses the a tag.

It seems that in path-chemistry, all elements that aren't text, flowtext, or groups are dropped on the floor.

What should have happened?

a tag should be preserved.

Note that external links are part of the SVG 1.1 specs https://www.w3.org/TR/SVG11/linking.html#Links

Inkscape Version and Operating System:

  • 1.0alpha (779ded10d5, 2019-04-15) Linux Mint 19.1
Edited by Nathan Lee