diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 22dcdb68ac..b7616ad68c 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