ox: Fix next/previous element getters
commit6cc028bf741e2986ce8dd913f2de1c56de0ab11b
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 11 Nov 2013 00:54:01 +0000 (11 01:54 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 11 Nov 2013 00:54:01 +0000 (11 01:54 +0100)
treee8be4cbe309f2892793cb11b79e6a8c097da003e
parentede82ccf93648ebefdaac896e875f5a17c148241
ox: Fix next/previous element getters

* lisp/ox.el (org-export-get-previous-element,
  org-export-get-next-element): Fix return value for non plain text
  objects in a secondary string.
* testing/lisp/test-ox.el: Add tests.
lisp/ox.el
testing/lisp/test-ox.el