Prechádzať zdrojové kódy

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>
Nicolas Goaziou 9 rokov pred
rodič
commit
d01ed5b89b
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      lisp/ox-html.el

+ 1 - 2
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
 			     "#"