summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJambunathan K <kjambunathan@gmail.com>2012-11-07 23:43:43 +0530
committerNicolas Goaziou <n.goaziou@gmail.com>2012-11-09 02:03:51 +0100
commit01256855533bfed4ae7166d8d9f4acdb90c9ab0e (patch)
treeb883717f2883d5c88f15c32aefbe13ce919500c4
parent359891f811e89b194fe6e6cd9c75c7948e517d4d (diff)
downloadorg-mode-01256855533bfed4ae7166d8d9f4acdb90c9ab0e.tar.gz
org-e-html.el: Handle clickable images correctly
Fix bug http://permalink.gmane.org/gmane.emacs.orgmode/62197.
-rw-r--r--contrib/lisp/org-e-html.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/lisp/org-e-html.el b/contrib/lisp/org-e-html.el
index 9afe4a8..5232951 100644
--- a/contrib/lisp/org-e-html.el
+++ b/contrib/lisp/org-e-html.el
@@ -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))