mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
lisp/ox-html.el: Restore org-svg class.
* lisp/ox-html.el (org-html--format-image): Restore org-svg class.
d96e897579
removed the org-svg class
which is necessary even when using <img> tags otherwise svg images
will render at absurdly large sizes.
This commit is contained in:
parent
faf1ba8cde
commit
9364b2d894
@ -1707,7 +1707,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)
|
||||
|
Loading…
Reference in New Issue
Block a user