diff options
author | Bastien Guerry <bzg@altern.org> | 2013-04-08 17:49:34 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-08 21:25:09 +0200 |
commit | 1144903cfa9fd2d845a90263bf97e24c314c312e (patch) | |
tree | 9ceecd94035131f831058c27dadb6164ab92910c | |
parent | 1af215bb4668bf3e778175e68fcaf0cb7702f585 (diff) | |
download | org-mode-1144903cfa9fd2d845a90263bf97e24c314c312e.tar.gz |
ox-odt.el (org-odt-link): Fix bug: convert & to & in links
* ox-odt.el (org-odt-link): Fix bug: convert & to & in
links.
-rw-r--r-- | lisp/ox-odt.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 394530c..7e1390e 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -2760,6 +2760,8 @@ INFO is a plist holding contextual information. See (concat "file://" (expand-file-name raw-path)) (concat "file://" raw-path))) (t raw-path))) + ;; Convert & to & for correct XML representation + (path (replace-regexp-in-string "&" "&" path)) protocol) (cond ;; Image file. |