org-e-html.el: Handle clickable images correctly
Fix bug http://permalink.gmane.org/gmane.emacs.orgmode/62197.
This commit is contained in:
parent
359891f811
commit
0125685553
|
@ -2109,8 +2109,7 @@ standalone images, do the following.
|
||||||
element org-e-html-inline-image-rules)
|
element org-e-html-inline-image-rules)
|
||||||
(org-export-get-parent element)))
|
(org-export-get-parent element)))
|
||||||
(t nil))))
|
(t nil))))
|
||||||
(when paragraph
|
(when (eq (org-element-type paragraph) 'paragraph)
|
||||||
(assert (eq (org-element-type paragraph) 'paragraph))
|
|
||||||
(when (or (not (and (boundp 'org-e-html-standalone-image-predicate)
|
(when (or (not (and (boundp 'org-e-html-standalone-image-predicate)
|
||||||
(functionp org-e-html-standalone-image-predicate)))
|
(functionp org-e-html-standalone-image-predicate)))
|
||||||
(funcall org-e-html-standalone-image-predicate paragraph))
|
(funcall org-e-html-standalone-image-predicate paragraph))
|
||||||
|
|
Loading…
Reference in New Issue