Please ignore this patch!
Apologies, as I was sending another patch today, I thought I hadn't
followed up on my earlier promise to send a patch for this issue. It
turns out I have, it just hasn't been reviewed/merged yet:
https://list.orgmode.org/20220228140750.75761-1-dafydd.lu...@gmail.com/
(I
* ox.el, ox-odt.el: Use `write-region' instead of `write-file' or
`save-buffer' to protect generated export buffers from auto-formatting
hooks.
In particular, `tidy' is often configured as the auto-formatter for HTML
and XML, and it can corrupt the exports.
TINYCHANGE
---
lisp/ox-odt.el | 4 ++--