From 0573bf92e08715266d97ba8cec74107d084744c8 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 28 Sep 2019 16:08:06 +0200 Subject: [PATCH] Fix bug 11667 When automatic command termination was added to texstream it was forgotten to reset its status after a math inset. --- src/mathed/InsetMathNest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 896ca664c2..66e900ad52 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -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); } -- 2.39.2