ox-html: Remove spurious # in some links

* lisp/ox-html.el (org-html-link): Remove spurious # introduced in
  8594aed.

Reported-by: Alan Schmitt <alan.schmitt@polytechnique.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/103599>
This commit is contained in:
Nicolas Goaziou 2015-12-14 23:52:11 +01:00
parent f57778090e
commit d01ed5b89b
1 changed files with 1 additions and 2 deletions

View File

@ -2849,8 +2849,7 @@ INFO is a plist holding contextual information. See
(cond ((not option) raw-path) (cond ((not option) raw-path)
;; Since HTML back-end use custom-id value as-is, ;; Since HTML back-end use custom-id value as-is,
;; resolving is them is trivial. ;; resolving is them is trivial.
((eq (string-to-char option) ?#) ((eq (string-to-char option) ?#) (concat raw-path option))
(concat raw-path "#" option))
(t (t
(concat raw-path (concat raw-path
"#" "#"