From a3e8a1d6048f36057a38fe31c34d5fae98b684bb Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 25 Mar 2013 18:28:50 +0100 Subject: [PATCH] Fix previous commit again Now off. --- lisp/ox-odt.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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))) -- 2.11.4.GIT