Make ParBreakIsNewline work in inset layout without PassThru

Fixes: #9513
This commit is contained in:
Juergen Spitzmueller 2015-04-21 19:43:41 +02:00
parent c1dcecb376
commit efb4a26512

View File

@ -1073,6 +1073,7 @@ void TeXOnePar(Buffer const & buf,
DocumentClass const & tclass = bparams.documentClass();
if ((style == next_layout
&& !style.parbreak_is_newline
&& !text.inset().getLayout().parbreakIsNewline()
&& style.latextype != LATEX_ITEM_ENVIRONMENT
&& style.latextype != LATEX_LIST_ENVIRONMENT
&& style.align == par.getAlign()