ox-html: Prevent spurious target below headlines
commit007bbddbccfd06ab9c97d51bf833a068cb1b07a2
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 9 Sep 2017 22:16:12 +0000 (10 00:16 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 9 Sep 2017 22:23:42 +0000 (10 00:23 +0200)
tree485d699d6dc14ba0befac3906bbc62f6a234391a
parentb3ab012d6992e1989b10b81d8a1dbb71b0dfd0cf
ox-html: Prevent spurious target below headlines

* lisp/ox-html.el (org-html-headline):
(org-html-link): Do not insert an additional target.

* lisp/ox-publish.el (org-publish-resolve-external-link): Add an
  optional argument.

* lisp/ox.el (org-export-get-reference): Improve docstring.

* testing/examples/pub/a.org:
* testing/examples/pub/b.org: New files.
* testing/lisp/test-ox-publish.el (test-org-publish/resolve-external-link):
  New test.
etc/ORG-NEWS
lisp/ox-html.el
lisp/ox-publish.el
lisp/ox.el
testing/examples/pub/a.org
testing/examples/pub/b.org
testing/lisp/test-ox-publish.el