From 4feec2ef4bc2315fcd2fdaf54dde4c920bb3cfde Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 9 Jun 2015 08:18:19 +0200 Subject: [PATCH] Properly fix bug #9598 Do not output \\par at the end of environments with size change if the environment cosinsts of only one par. --- src/output_latex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 6df77f1b66..d8b1d0b7bd 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -865,7 +865,7 @@ void TeXOnePar(Buffer const & buf, if (style.resfont.size() != font.fontInfo().size() && (nextpar || maintext - || (text.inset().getLayout().isMultiPar() + || (text.inset().paragraphs().size() > 1 && text.inset().lyxCode() != CELL_CODE)) && !is_command) { os << '{'; -- 2.39.2