mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
Do not output a \par inside a local language switch command
This commit is contained in:
parent
5febcf6236
commit
71f532db4b
@ -507,7 +507,7 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
|
|||||||
if (f.size() != FONT_SIZE_INHERIT) {
|
if (f.size() != FONT_SIZE_INHERIT) {
|
||||||
// We only have to close if only size changed
|
// We only have to close if only size changed
|
||||||
if (!env) {
|
if (!env) {
|
||||||
if (needPar) {
|
if (needPar && !closeLanguage) {
|
||||||
os << "\\par";
|
os << "\\par";
|
||||||
count += 4;
|
count += 4;
|
||||||
needPar = false;
|
needPar = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user