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:
parent
f57778090e
commit
d01ed5b89b
|
@ -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
|
||||||
"#"
|
"#"
|
||||||
|
|
Loading…
Reference in New Issue