0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:07:49 +00:00

ox-odt.el (org-odt-link): Fix bug: convert & to & in links

* ox-odt.el (org-odt-link): Fix bug: convert & to & in
links.
This commit is contained in:
Bastien Guerry 2013-04-08 17:49:34 +02:00
parent 1af215bb46
commit 1144903cfa

View file

@ -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.