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
This commit is contained in:
Daniel Clemente 2010-10-13 03:29:25 +00:00 committed by David Maus
parent 145109dc4a
commit c486572df0
1 changed files with 2 additions and 1 deletions

View File

@ -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))))