Fix bug 11667

When automatic command termination was added to texstream it was
forgotten to reset its status after a math inset.
This commit is contained in:
Enrico Forestieri 2019-09-28 16:08:06 +02:00
parent 2458dc2ca6
commit 0573bf92e0

View File

@ -373,9 +373,10 @@ void InsetMathNest::latex(otexstream & os, OutputParams const & runparams) const
Changer dummy = wi.changeRowEntry(TexRow::textEntry(runparams.lastid,
runparams.lastpos));
write(wi);
// Reset parbreak status after a math inset.
// Reset parbreak and command termination status after a math inset.
os.lastChar(0);
os.canBreakLine(wi.canBreakLine());
os.terminateCommand(false);
}