From a919cd8c685905071049eecbdb9c6af96a294c27 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 18 May 2014 17:30:01 +0200 Subject: [PATCH] Take into account that a blank line is always output before a command. --- src/Text3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Text3.cpp b/src/Text3.cpp index 7350618747..286d5bb7dc 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1076,6 +1076,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) && ((prevpar.getDepth() > par.getDepth() && !par.layout().isEnvironment()) || (prevpar.layout() != par.layout() + && !par.layout().isCommand() && prevpar.layout().isEnvironment()))) { if (par.layout().isEnvironment()) { docstring const layout = par.layout().name(); -- 2.39.2