commit bc553e7cb695d592027d93b832fd277f56f49a6c
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 +-
 status.24x                   | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp
index b022acad5e..35e01f79db 100644
--- a/src/insets/InsetListings.cpp
+++ b/src/insets/InsetListings.cpp
@@ -412,7 +412,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;
        }
 
diff --git a/status.24x b/status.24x
index e28a391216..e0d4a24c3d 100644
--- a/status.24x
+++ b/status.24x
@@ -73,6 +73,8 @@ What's new
 
 - Fix dvi and postscript command line export on Windows (bug 13235).
 
+- Fix space problem after inline listings (bug 13244).
+
 
 * USER INTERFACE
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to