From d01ed5b89bd1e8b494288b2407431ec6b320c2d5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 14 Dec 2015 23:52:11 +0100 Subject: [PATCH] ox-html: Remove spurious # in some links * lisp/ox-html.el (org-html-link): Remove spurious # introduced in 8594aed. Reported-by: Alan Schmitt --- lisp/ox-html.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 6affac464..f63ea5acc 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2849,8 +2849,7 @@ INFO is a plist holding contextual information. See (cond ((not option) raw-path) ;; Since HTML back-end use custom-id value as-is, ;; resolving is them is trivial. - ((eq (string-to-char option) ?#) - (concat raw-path "#" option)) + ((eq (string-to-char option) ?#) (concat raw-path option)) (t (concat raw-path "#"