if i create an svg file with links, and open into a browser, the links are active.
when added to a notebook as a file attachment and displayed as a cell, the links are not sensitive.
that is, neither does the cursor change when an element with a link is moused over, nor does a click work.
if, however, the inspector is used to open the respective blob, the svg is displayed in its own window with active links.
is there some special procedure to keep the links active when the svg is present in the notebook?
the initial result was just what the “<-” button produces: the “.image()” version.
the svg operator does work, but i observe that care must be taken to supply content which contains an svg element only.
that is, if the document follows the standard svg conventions, in that is includes a prolog, then the cell appears empty.
a related issue is that, for both absolute url links and those which specify just the anchor, the effect of activating the link is to redisplay the browser page with just cell source, but no cell results.
in one cell it indicates " observablehq.com refused to connect.".
if, however, one indicates that the linked document is to be opened in a new window, the result is as expected.
Thanks for reporting, I’ve filed an internal issue. In the meantime you can add target="_parent" to your SVG links to have them open in the parent context.