From fa1a5ad3bf63158775ffa8ab3de37fb056103ab4 Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Sun, 24 Sep 2017 01:11:42 -0400 Subject: [PATCH] ox-html.el: Fix irc links exporting to link to local files * lisp/ox-html.el: Add "irc" to special link types which are exported as their link type and path separated by ':', so that browser irc content handlers work properly. --- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index d91ca73622..8756cda7e5 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2973,7 +2973,7 @@ INFO is a plist holding contextual information. See (desc (org-string-nw-p desc)) (path (cond - ((member type '("http" "https" "ftp" "mailto" "news")) + ((member type '("http" "https" "ftp" "mailto" "news" "irc")) (url-encode-url (org-link-unescape (concat type ":" raw-path)))) ((string= type "file") ;; Treat links to ".org" files as ".html", if needed. -- 2.11.0