From c486572df067500dffb22a7178adfda42ec3d805 Mon Sep 17 00:00:00 2001 From: Daniel Clemente Date: Wed, 13 Oct 2010 03:29:25 +0000 Subject: [PATCH] Append fragment to file: links if present * org-html.el (org-html-make-link): Append fragment to file: links if present. Patch by Daniel Clemente --- lisp/org-html.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 116eb54cc..cd15ececa 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -763,7 +763,8 @@ MAY-INLINE-P allows inlining it as an image." ((or (not type) (string= type "http") - (string= type "https")) + (string= type "https") + (string= type "file")) (if fragment (setq thefile (concat thefile "#" fragment))))