diff options
author | Rick Frankel <rick@rickster.com> | 2013-10-02 18:26:27 -0400 |
---|---|---|
committer | Rick Frankel <rick@rickster.com> | 2013-10-02 18:26:27 -0400 |
commit | 6f5180bd9fc230a31913cbdb9a4dd48cc247adc2 (patch) | |
tree | ac7df073bf7b225fc61ee7bccd7344244846e6bc | |
parent | f871fb6fca4a47b69c8b58913f2a1bcb1a863038 (diff) | |
download | org-mode-6f5180bd9fc230a31913cbdb9a4dd48cc247adc2.tar.gz |
Fix escaping of links in html export.
* lisp/ox-html.el (org-html-link): Unescape org-escaped links an
re-escape for html (browser).
-rw-r--r-- | lisp/ox-html.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 66862bc..0600204 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2624,7 +2624,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 |