commit 2a425ef1c550f52a3c002998db85602698f968c9
Author: Juergen Spitzmueller <[email protected]>
Date: Tue Oct 28 15:42:12 2025 +0100
Properly terminate \egroup (#13244)
Otherwise space is eaten
(cherry picked from commit 35e0010e8898725a64639ec2a3b0dffa237c0422)
---
src/insets/InsetListings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp
index d360d3fde2..9a57622892 100644
--- a/src/insets/InsetListings.cpp
+++ b/src/insets/InsetListings.cpp
@@ -413,7 +413,7 @@ void InsetListings::latex(otexstream & os, OutputParams
const & runparams) const
// Go out of vertical mode. Otherwise \egroup
// causes a paragraph break (#12821)
os << "\\leavevmode";
- os << "\\egroup" << breakln;
+ os << "\\egroup" << termcmd;
runparams.encoding = save_enc;
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs