mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-15 16:16:26 +00:00
Fix escaping of links in html export.
* lisp/ox-html.el (org-html-link): Unescape org-escaped links an re-escape for html (browser).
This commit is contained in:
parent
0ceb68d599
commit
9715523abe
|
@ -2661,7 +2661,9 @@ INFO is a plist holding contextual information. See
|
||||||
(path
|
(path
|
||||||
(cond
|
(cond
|
||||||
((member type '("http" "https" "ftp" "mailto"))
|
((member type '("http" "https" "ftp" "mailto"))
|
||||||
(concat type ":" raw-path))
|
(org-link-escape
|
||||||
|
(org-link-unescape
|
||||||
|
(concat type ":" raw-path)) org-link-escape-chars-browser))
|
||||||
((string= type "file")
|
((string= type "file")
|
||||||
;; Treat links to ".org" files as ".html", if needed.
|
;; Treat links to ".org" files as ".html", if needed.
|
||||||
(setq raw-path
|
(setq raw-path
|
||||||
|
|
Loading…
Reference in a new issue