Browse Source

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

Fix bug http://permalink.gmane.org/gmane.emacs.orgmode/62197.
Jambunathan K 5 years ago
parent
commit
0125685553
1 changed files with 1 additions and 2 deletions
  1. 1 2
      contrib/lisp/org-e-html.el

+ 1 - 2
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))