Take into account that a blank line is always output before a command.

This commit is contained in:
Enrico Forestieri 2014-05-18 17:30:01 +02:00
parent 4d30b613ba
commit a919cd8c68

View File

@ -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();