1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

Reapply "lisp/ox-html.el: Restore org-svg class."

This reverts commit 895a367a67.
This commit is contained in:
Ihor Radchenko 2024-06-03 11:16:15 +02:00
parent 77e77f051c
commit 2ee94bb065
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -1782,7 +1782,9 @@ a communication channel."
(org-html-encode-plain-text
(org-find-text-property-in-string 'org-latex-src source))
(file-name-nondirectory source)))
attributes))
(if (string= "svg" (file-name-extension source))
(org-combine-plists '(:class "org-svg") attributes '(:fallback nil))
attributes)))
info))
(defun org-html--textarea-block (element)