forked from mirrors/org-mode
HTML export: Fix export bug with ID links
This commit is contained in:
parent
9cd0dd793d
commit
7bc578c6ad
|
@ -1012,6 +1012,7 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
(setq id-file (org-id-find-id-file path)))
|
||||
;; This is an id: link to another file (if it was the same file,
|
||||
;; it would have become an internal link...)
|
||||
(save-match-data
|
||||
(setq id-file (file-relative-name
|
||||
id-file (file-name-directory org-current-export-file)))
|
||||
(setq id-file (concat (file-name-sans-extension id-file)
|
||||
|
@ -1021,7 +1022,7 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
path "\""
|
||||
attr ">"
|
||||
(org-export-html-format-desc desc)
|
||||
"</a>")))
|
||||
"</a>"))))
|
||||
((member type '("http" "https"))
|
||||
;; standard URL, just check if we need to inline an image
|
||||
(if (and (or (eq t org-export-html-inline-images)
|
||||
|
|
Loading…
Reference in New Issue