org-odt.el: Fix handling of internal links
commitfef07abefb8cb955a39a1bd495af2cd47c5dfa4d
authorJambunathan K <kjambunathan@gmail.com>
Fri, 20 Apr 2012 16:53:43 +0000 (20 22:23 +0530)
committerBastien Guerry <bzg@altern.org>
Sat, 21 Apr 2012 10:11:40 +0000 (21 12:11 +0200)
treec5ced65938345403346ad9935fb175fec4a69a18
parent452d4912049a6e470a77c8055929a40f727897fc
org-odt.el: Fix handling of internal links

* lisp/org-odt.el (org-odt-format-org-link): Pay no heed to
whether the internal links destined for headlines provide a
description or not.  In fact, the `org-store-link' and
`org-insert-link' create internal links which do have a
description.

This fixes an issue where internal links terminating at an
invisible target (that is bound to a headline) was badly
rendered.  Refer following thread:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00757.html
lisp/org-odt.el