Encode URL in exported links.
This commit is contained in:
parent
3f1aabc140
commit
249d2be0e0
@ -20,6 +20,7 @@
|
||||
(require 'ox-publish)
|
||||
(require 'ox-ascii)
|
||||
(require 'cl-lib)
|
||||
(require 'url-util)
|
||||
|
||||
;; TODO:
|
||||
;; Sublists aren't supported in gemini
|
||||
@ -94,7 +95,7 @@ It's output just before each section. LINKS is a list of each link. INFO is a
|
||||
(anchor (org-export-data
|
||||
(or desc (org-element-property :raw-link link))
|
||||
info)))
|
||||
(format "=> %s %s\n" path anchor)))
|
||||
(format "=> %s %s\n" (url-encode-url path) anchor)))
|
||||
links "")
|
||||
(when (car links)
|
||||
"\n")))
|
||||
|
Loading…
Reference in New Issue
Block a user