Hi Scott,
Thanks for your bug report.
Scott Randby <address@hidden> writes:
When did Org start using the <object> tag for inline image HTML
export?
You should use git-blame to find out if you care.
The problems with the second bit of exported code is that it doesn't
scale the image to fit the block with 50% width (only a small part of
the image is visible), and you when you right click on the image, you
can't view it, save it or anything.
[...]
Clearly, Org 8.3 is not using an <img> tag when exporting SVG images
to HTML, something which is a major issue for me. It essentially makes
Org unusable for HTML export. I really would appreciate a fix for this
bug.
I'm not sure it's a bug. It's IS clearly a quite complicated issue, e.g.:
http://stackoverflow.com/questions/4476526/do-i-use-img-object-or-embed-for-svg-files
Perhaps it should be configurable, perhaps even as a default and a
per-image basis (via #+attr_html).
If you can provide a (html) solution that takes into consideration the
issues mentioned on SO that would of course be great. In the age of d3.js
interactivity COULD be an issue (I would always load "interactive svgs"
via JS, but I'm a pretty naïve svg user so I don't know what's possible).