From: Bastien Guerry Date: Mon, 25 Mar 2013 17:28:50 +0000 (+0100) Subject: Fix previous commit again X-Git-Tag: release_8.0~3^2~288 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/a3e8a1d6048f36057a38fe31c34d5fae98b684bb Fix previous commit again Now off. --- diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 366dbdd42..5fb149119 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -3093,9 +3093,10 @@ holding contextual information." (while (search-forward "" nil t) (and (re-search-backward "" nil t) (replace-match "" t t)) - (and (search-forward "" nil t) - (re-search-forward "]*>" nil t) - (replace-match "" t t))))) + (search-forward "" nil t) + (if (re-search-forward "]*>" nil t) + (replace-match "" t t) + (insert "\n"))))) ;;;; Src Block @@ -4085,7 +4086,7 @@ contextual information." (with-current-buffer buf ;; Prettify output if needed. (if (equal (file-name-nondirectory (buffer-file-name buf)) - "content.xml") + "content.xml") (org-odt--fix-annotations)) (when org-odt-prettify-xml (indent-region (point-min) (point-max)))