[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 9364b2d 35/85: lisp/ox-html.el: Restore org-svg cla
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 9364b2d 35/85: lisp/ox-html.el: Restore org-svg class. |
Date: |
Mon, 27 Sep 2021 15:57:45 -0400 (EDT) |
branch: externals/org
commit 9364b2d89465773e3a1855be76358c315e2e003b
Author: Tom Gillespie <tgbugs@gmail.com>
Commit: Bastien <bzg@gnu.org>
lisp/ox-html.el: Restore org-svg class.
* lisp/ox-html.el (org-html--format-image): Restore org-svg class.
d96e8975791bd3b1a5f8fdb75609d73f134dc831 removed the org-svg class
which is necessary even when using <img> tags otherwise svg images
will render at absurdly large sizes.
---
lisp/ox-html.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 7fb8fec..54905a7 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -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)
- [elpa] externals/org c90f96c 77/85: org: Support displaying X% width images, (continued)
- [elpa] externals/org c90f96c 77/85: org: Support displaying X% width images, ELPA Syncer, 2021/09/27
- [elpa] externals/org 4594423 79/85: doc/org-manual.org: Fix typo, ELPA Syncer, 2021/09/27
- [elpa] externals/org 09dc3fa 83/85: org-protocol.el: decode "+" in query part as space, ELPA Syncer, 2021/09/27
- [elpa] externals/org 663255e 85/85: org: Remove obsolete default LaTeX packages, ELPA Syncer, 2021/09/27
- [elpa] externals/org 3d35718 44/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 69850c1 58/85: ob-core.el (org-babel--file-desc): Remove unused condition, ELPA Syncer, 2021/09/27
- [elpa] externals/org ee0fd1e 37/85: Revert "org-src.el (org-src--contents-for-write-back): Do not indent blank lines", ELPA Syncer, 2021/09/27
- [elpa] externals/org 70e65a2 38/85: org-src.el: Do not indent blank lines, except current one, ELPA Syncer, 2021/09/27
- [elpa] externals/org fb75741 09/85: lisp/ob-gnuplot.el: Add Ihor Radchenko as maintainer, ELPA Syncer, 2021/09/27
- [elpa] externals/org e64d5bc 17/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 9364b2d 35/85: lisp/ox-html.el: Restore org-svg class.,
ELPA Syncer <=
- [elpa] externals/org d9fcd07 62/85: Backport commit 43c1ee90c from Emacs, ELPA Syncer, 2021/09/27
- [elpa] externals/org 87a8229 60/85: org.el: Use org-contrib module instead of CONTRIB dir in docs, ELPA Syncer, 2021/09/27
- [elpa] externals/org d9d5594 66/85: Merge branch 'km/from-emacs-master', ELPA Syncer, 2021/09/27
- [elpa] externals/org ca441be 71/85: lisp/oc.el: Fix typo in comment string, ELPA Syncer, 2021/09/27
- [elpa] externals/org db167b9 81/85: Do not use mark-whole-buffer noninteractively, ELPA Syncer, 2021/09/27
- [elpa] externals/org c80fea7 82/85: lisp/oc.el: Fix docstring wrapping, ELPA Syncer, 2021/09/27
- [elpa] externals/org 2d2f774 16/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org b967a05 24/85: org-indent: Allow indentation per level to be 0, ELPA Syncer, 2021/09/27
- [elpa] externals/org e0bf528 30/85: CONTRIBUTE: Update to follow the new structure of doc/, ELPA Syncer, 2021/09/27
- [elpa] externals/org bf1c4c7 22/85: Include support for evaluating julia code, ELPA Syncer, 2021/09/27