ox-html: Prefer custom ID over internal references for links to headlines
commitb856f66892b8fbf827e4b4a3e89e739a9caca051
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 10 Jun 2015 11:31:16 +0000 (10 13:31 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 10 Jun 2015 11:31:16 +0000 (10 13:31 +0200)
treefbbb3dee1a18a602c480703e6cfb915216e3531b
parente87e5a3c6274eb08c98dbcdddf7a747ca2cbb6f3
ox-html: Prefer custom ID over internal references for links to headlines

* lisp/ox-html.el (org-html-link): Use custom ID if present instead of
  internal reference.

Reported-by: Oleh Krehel <ohwoeowho@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/98259>
lisp/ox-html.el