I use interactive SVG elements in my org notes and wish to have these elements 
embedded in the HTML export. There has been previous discussion about how SVG 
elements should be handled in ox-html. For my needs, neither <object> nor <img> 
is desirable, because while they show the graphical component of SVG, they 
break other SVG functionality like hyperlinks.

Until recently, a function I found on Stack Overflow 
(https://emacs.stackexchange.com/questions/29871/how-to-embed-svg-output-of-org-mode-src-block-as-inline-svg-in-html-export)
 was working well to transclude the full SVG source into the HTML when 
exporting (e.g. this page: 
http://magicscience.info/20210821080707-how_to_embed_handwritten_content_in_your_org_roam_site.html)
 

However, when I went to rebuild the site recently, the resulting HTML no longer 
includes the SVG source inline. Instead, there is a line of text with an href 
to the file. 

Were changes made to org export recently that would have broken the SVG 
embedding function I was using?

Reply via email to