Ihor Radchenko <yanta...@posteo.net> writes: > Ihor Radchenko <yanta...@posteo.net> writes: > >> I am inclined to revert the commit changing object to img for svg >> images. >> >> The previously discussed concerns about object tag do not seem to be >> real: >> 1. Resizing objects seems to be supported: >> https://list.orgmode.org/87y44tx1h5....@iki.fi/ >> 2. We can put :alt text on objects using tactics described in >> >> https://stackoverflow.com/questions/27884879/how-do-i-add-alternative-text-to-an-object >> >> I see no benefits using img in our situation. > > Done, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=895a367a6 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=302bc6393 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0e5ac4332 > > Hope I did not break anything.
My hope was futile. qtwebengine is unable to render <object ...> svgs with data pointing to outside URL. So, I have reverted the commits. It does not look like using <object ...> for svgs is a good idea these days. (If someone more familiar with browser teck have better ideas, please chime in). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>