org-odt.el: Protect label references against downstream expansion
commite856d1cfe7d50f0954ad134996291aea29036371
authorJambunathan K <kjambunathan@gmail.com>
Wed, 2 Nov 2011 18:02:49 +0000 (2 23:32 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Wed, 2 Nov 2011 18:03:10 +0000 (2 23:33 +0530)
tree81863605b45106347cf12f72161c3a7d5a48c10e
parenta081581693e9b463d2b9442ba58c9cd719639e87
org-odt.el: Protect label references against downstream expansion

* contrib/lisp/org-odt.el
(org-export-odt-preprocess-label-references): Mark label as
protected text and protect it from being expanded downstream.

Fixes bug reported by Myles English here:
http://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00069.html
contrib/lisp/org-odt.el