From 9715523abe89d1de320a7d44cc288f5fd58416c9 Mon Sep 17 00:00:00 2001 From: Rick Frankel Date: Wed, 2 Oct 2013 18:26:27 -0400 Subject: [PATCH] Fix escaping of links in html export. * lisp/ox-html.el (org-html-link): Unescape org-escaped links an re-escape for html (browser). --- lisp/ox-html.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index db8ac69c2..ac44416ad 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2661,7 +2661,9 @@ INFO is a plist holding contextual information. See (path (cond ((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") ;; Treat links to ".org" files as ".html", if needed. (setq raw-path -- 2.11.4.GIT