This commit is contained in:
mez 2025-04-20 11:19:45 +01:00
parent 613efa90df
commit a6e848bcf2

View file

@ -552,7 +552,7 @@ Get rid of =file://= using the same method.
#+BEGIN_SRC emacs-lisp
(defun my-org-export-correct-file-links (text backend info)
"Remove generate file:// in relative links."
"Remove generated file:// in relative links."
(when (and
(org-export-derived-backend-p backend 'html)
(string-match "href=\"file[^\"]+" text))