emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Use <img> tags for SVGs


From: Timothy
Subject: [PATCH] Use <img> tags for SVGs
Date: Wed, 07 Apr 2021 19:24:26 +0800
User-agent: mu4e 1.4.15; emacs 28.0.50

Hey everyone,

This is the first patch addressing an item raised in
https://orgmode.org/list/87sga4914t.fsf@gmail.com/ [subject: W3C
violations in Org's HTML export].

For more information see the email mentioned above and/or the commit
message.
It's worth nothing that the current approach isn't just "not great", but
actually causes some issues. For instance, in the ox-html export of my
Emacs config, here's an SVG generated by Gnuplot with org-plot:

PNG image

If I just change <object> to <img> this is much better behaved:

PNG image

Anyway, that's enough preamble --- here's the patch :)

--
Timothy

Attachment: 0001-ox-html-Use-img-tags-for-svgs-not-object.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]