commit 71f532db4bbce90574781413ffb9f5d2fdeb5b50 Author: Enrico Forestieri <for...@lyx.org> Date: Sun Jun 4 03:12:41 2017 +0200
Do not output a \par inside a local language switch command --- src/Font.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Font.cpp b/src/Font.cpp index 5bfbcdc..86ffcd6 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -507,7 +507,7 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams, if (f.size() != FONT_SIZE_INHERIT) { // We only have to close if only size changed if (!env) { - if (needPar) { + if (needPar && !closeLanguage) { os << "\\par"; count += 4; needPar = false;