commit a5f5985d28439f9f959152648ca7db41a6129601
Author: Enrico Forestieri <[email protected]>
Date:   Sun Mar 31 15:14:28 2019 +0200

    Fix bug #11528
    
    The code was not doing what said in the description.
    
    (cherry picked from commit 45e0ce2372467516355d81bbba4a5852d9569f98)
---
 src/output_latex.cpp |    2 +-
 status.23x           |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index 9cdea97..858717b 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -1333,7 +1333,7 @@ void TeXOnePar(Buffer const & buf,
                             && nextpar->getAlign() == par.getAlign())
                            || (!next_layout.isEnvironment()
                                && nextpar->getDepth() > par.getDepth()
-                               && nextpar->getAlign() == par.getAlign())
+                               && nextpar->getAlign() == next_layout.align)
                            || (!style.isEnvironment()
                                && next_layout.latextype == LATEX_ENVIRONMENT
                                && nextpar->getDepth() < par.getDepth())
diff --git a/status.23x b/status.23x
index d5a1d07..e893071 100644
--- a/status.23x
+++ b/status.23x
@@ -127,6 +127,8 @@ What's new
 
 - Only write btUnits if we have a bibliography (bug 11562).
 
+- Fix paragraph break in particular cases (bug 11528).
+
 
 * USER INTERFACE
 

Reply via email to