[LyX/master] Fix bug #12148

Enrico Forestieri forenr at lyx.org
Fri Feb 19 01:15:42 UTC 2021


commit 7114de5175e0d34275b39bb998dd65186d1d219f
Author: Enrico Forestieri <forenr at lyx.org>
Date:   Fri Feb 19 02:19:06 2021 +0100

    Fix bug #12148
---
 src/Paragraph.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 22dcdb6..b7616ad 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -2562,7 +2562,7 @@ void Paragraph::latex(BufferParams const & bparams,
 						runparams);
 				runningChange = Change(Change::UNCHANGED);
 
-				os << "}] ";
+				os << (isEnvSeparator(i) ? "}]~" : "}] ");
 				column +=3;
 			}
 			// For InTitle commands, we have already opened a group


More information about the lyx-cvs mailing list