浏览代码

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
Daniel Clemente 14 年之前
父节点
当前提交
c486572df0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/org-html.el

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