I want to insert a link like : [[http://foo.org/bar][file:foo.jpg]] and export it to html. I assume that it should result in a clickable image. Unfortunately, some assertion fails by doing this. If I remove the assertion : diff --git a/contrib/lisp/org-e-html.el b/contrib/lisp/org-e-html.el index 9afe4a8..1675bdc 100644 --- a/contrib/lisp/org-e-html.el +++ b/contrib/lisp/org-e-html.el @@ -2110,7 +2110,7 @@ standalone images, do the following. (org-export-get-parent element))) (t nil)))) (when paragraph - (assert (eq (org-element-type paragraph) 'paragraph)) + ; (assert (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)) I get a result but I'm afraid there are a couple of spurious

tags. Greetings, Fabrice