org-e-html.el: Handle clickable images correctly

Fix bug http://permalink.gmane.org/gmane.emacs.orgmode/62197.
This commit is contained in:
Jambunathan K 2012-11-07 23:43:43 +05:30 committed by Nicolas Goaziou
parent 359891f811
commit 0125685553
1 changed files with 1 additions and 2 deletions

View File

@ -2109,8 +2109,7 @@ standalone images, do the following.
element org-e-html-inline-image-rules)
(org-export-get-parent element)))
(t nil))))
(when paragraph
(assert (eq (org-element-type paragraph) 'paragraph))
(when (eq (org-element-type paragraph) 'paragraph)
(when (or (not (and (boundp 'org-e-html-standalone-image-predicate)
(functionp org-e-html-standalone-image-predicate)))
(funcall org-e-html-standalone-image-predicate paragraph))