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:
parent
1af215bb46
commit
1144903cfa
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue